comparison src/sound.c @ 444:576fb035e263 r21-2-37

Import from CVS: tag r21-2-37
author cvs
date Mon, 13 Aug 2007 11:36:19 +0200
parents abe6d1db359e
children c33ae14dd6d0
comparison
equal deleted inserted replaced
443:a8296e22da4e 444:576fb035e263
332 TO_EXTERNAL_FORMAT (LISP_STRING, sound, ALLOCA, (soundext, soundextlen), 332 TO_EXTERNAL_FORMAT (LISP_STRING, sound, ALLOCA, (soundext, soundextlen),
333 Qbinary); 333 Qbinary);
334 334
335 /* #### ESD uses alarm(). But why should we also stop SIGIO? */ 335 /* #### ESD uses alarm(). But why should we also stop SIGIO? */
336 stop_interrupts (); 336 stop_interrupts ();
337 succes = esd_play_sound_data (soundext, soundextlen, vol); 337 succes = esd_play_sound_data ((unsigned char *) soundext, soundextlen, vol);
338 start_interrupts (); 338 start_interrupts ();
339 QUIT; 339 QUIT;
340 if(succes) 340 if(succes)
341 return Qnil; 341 return Qnil;
342 } 342 }