Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
608:4d7fdf497470 | 609:13e3d7ae7155 |
---|---|
34 | 34 |
35 /* the name given to ESD - I think this should identify ourselves */ | 35 /* the name given to ESD - I think this should identify ourselves */ |
36 #define ESD_NAME "xemacs" | 36 #define ESD_NAME "xemacs" |
37 | 37 |
38 int esd_play_sound_file (Extbyte *file, int vol); | 38 int esd_play_sound_file (Extbyte *file, int vol); |
39 int esd_play_sound_file (Extbyte *file, int vol) | 39 int |
40 esd_play_sound_file (Extbyte *file, int vol) | |
40 { /* #### FIXME: vol is ignored */ | 41 { /* #### FIXME: vol is ignored */ |
41 return esd_play_file(ESD_NAME, file, 0); | 42 return esd_play_file(ESD_NAME, file, 0); |
42 } | 43 } |
43 | 44 |
44 int esd_play_sound_data (UChar_Binary *data, size_t length, int vol); | 45 int esd_play_sound_data (UChar_Binary *data, size_t length, int vol); |
45 int esd_play_sound_data (UChar_Binary *data, size_t length, int vol) | 46 int |
47 esd_play_sound_data (UChar_Binary *data, size_t length, int vol) | |
46 { /* #### FIXME: vol is ignored */ | 48 { /* #### FIXME: vol is ignored */ |
47 size_t (*parsesndfile)(void **dayta,size_t *sz,void **outbuf); | 49 size_t (*parsesndfile)(void **dayta,size_t *sz,void **outbuf); |
48 size_t (*sndcnv)(void **dayta,size_t *sz,void **); | 50 size_t (*sndcnv)(void **dayta,size_t *sz,void **); |
49 fmtType ffmt; | 51 fmtType ffmt; |
50 int fmt,speed,tracks; | 52 int fmt,speed,tracks; |