X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsound.c;h=acb272b51486f9fecf0f6a86026144a219ccb18d;hb=68d609c429765623462582c56c375312fd3a56b6;hp=1f1acc967ce7f5e6ac419fa00a6aa2b75977ae59;hpb=59eec5f21669e81977b5b1fe9bf717cab49cf7fb;p=chise%2Fxemacs-chise.git.1 diff --git a/src/sound.c b/src/sound.c index 1f1acc9..acb272b 100644 --- a/src/sound.c +++ b/src/sound.c @@ -50,8 +50,8 @@ extern int esd_play_sound_data (unsigned char *data, size_t length, int vol); # define DEVICE_CONNECTED_TO_ESD_P(x) 1 /* FIXME: better check */ #endif -int bell_volume; -int bell_inhibit_time; +Fixnum bell_volume; +Fixnum bell_inhibit_time; Lisp_Object Vsound_alist; Lisp_Object Vsynchronous_sounds; Lisp_Object Vnative_sound_only_on_console; @@ -334,7 +334,7 @@ See the variable `sound-alist'. /* #### ESD uses alarm(). But why should we also stop SIGIO? */ stop_interrupts (); - succes = esd_play_sound_data (soundext, soundextlen, vol); + succes = esd_play_sound_data ((unsigned char *) soundext, soundextlen, vol); start_interrupts (); QUIT; if(succes)