projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[chise/xemacs-chise.git-]
/
src
/
sound.c
diff --git
a/src/sound.c
b/src/sound.c
index
1f1acc9
..
acb272b
100644
(file)
--- 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
# 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;
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 ();
/* #### 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)
start_interrupts ();
QUIT;
if(succes)