Mercurial > hg > xemacs-beta
diff src/esd.c @ 609:13e3d7ae7155
[xemacs-hg @ 2001-06-06 12:34:42 by ben]
nitpicky fixes:
emodules.c, tooltalk.c, process-unix.c: Fix warnings pointed out by Martin.
lisp.h: Correct usage of CBufbyte.
esd.c: indentation changes.
bytecode.c, eval.c, fileio.c: Use CBufbyte instead of char for error/warning functions.
linuxplay.c, miscplay.c, sgiplay.c, sunplay.c: Define DONT_ENCAPSULATE. (All encapsulation is removed in my pending Mule workspace.)
sgiplay.c: Put back #include <audio.h> accidentally removed.
Make play_sound_data return an int, like all other
such functions in *play.c.
sound.c: Fix up documentation of `play-sound'.
sysfile.h: Don't include sys/fcntl.h, as per Martin's advice.
author | ben |
---|---|
date | Wed, 06 Jun 2001 12:34:47 +0000 |
parents | 001628b7a5b3 |
children | 465bd3c7d932 |
line wrap: on
line diff
--- a/src/esd.c Mon Jun 04 17:00:02 2001 +0000 +++ b/src/esd.c Wed Jun 06 12:34:47 2001 +0000 @@ -36,13 +36,15 @@ #define ESD_NAME "xemacs" int esd_play_sound_file (Extbyte *file, int vol); -int esd_play_sound_file (Extbyte *file, int vol) +int +esd_play_sound_file (Extbyte *file, int vol) { /* #### FIXME: vol is ignored */ return esd_play_file(ESD_NAME, file, 0); } int esd_play_sound_data (UChar_Binary *data, size_t length, int vol); -int esd_play_sound_data (UChar_Binary *data, size_t length, int vol) +int +esd_play_sound_data (UChar_Binary *data, size_t length, int vol) { /* #### FIXME: vol is ignored */ size_t (*parsesndfile)(void **dayta,size_t *sz,void **outbuf); size_t (*sndcnv)(void **dayta,size_t *sz,void **);