comparison src/sound.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 183866b06e0b
children fdefd0186b75
comparison
equal deleted inserted replaced
608:4d7fdf497470 609:13e3d7ae7155
271 } 271 }
272 272
273 DEFUN ("play-sound", Fplay_sound, 1, 3, 0, /* 273 DEFUN ("play-sound", Fplay_sound, 1, 3, 0, /*
274 Play a sound of the provided type. 274 Play a sound of the provided type.
275 See the variable `sound-alist'. 275 See the variable `sound-alist'.
276
277 If the sound cannot be played in any other way, the standard "bell" will sound.
276 */ 278 */
277 (sound, volume, device)) 279 (sound, volume, device))
278 { 280 {
279 int looking_for_default = 0; 281 int looking_for_default = 0;
280 /* variable `sound' is anything that can be a cdr in sound-alist */ 282 /* variable `sound' is anything that can be a cdr in sound-alist */