comparison src/ntplay.c @ 2286:04bc9d2f42c7

[xemacs-hg @ 2004-09-20 19:18:55 by james] Mark all unused parameters as unused. Also eliminate some unneeded local variables.
author james
date Mon, 20 Sep 2004 19:20:08 +0000
parents a8d8f419b459
children ecf1ebac70d8
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
33 33
34 static int play_sound_data_1 (UChar_Binary *data, int length, 34 static int play_sound_data_1 (UChar_Binary *data, int length,
35 int volume, int convert); 35 int volume, int convert);
36 36
37 void 37 void
38 play_sound_file (Extbyte *sound_file, int volume) 38 play_sound_file (Extbyte *sound_file, int UNUSED (volume))
39 { 39 {
40 DWORD flags = SND_ASYNC | SND_NODEFAULT | SND_FILENAME; 40 DWORD flags = SND_ASYNC | SND_NODEFAULT | SND_FILENAME;
41 Lisp_Object fname = 41 Lisp_Object fname =
42 Ffile_name_nondirectory (build_tstr_string (sound_file)); 42 Ffile_name_nondirectory (build_tstr_string (sound_file));
43 Extbyte *fnameext; 43 Extbyte *fnameext;
80 } 80 }
81 81
82 /* mswindows can't cope with playing a sound from alloca space so we 82 /* mswindows can't cope with playing a sound from alloca space so we
83 have to convert if necessary */ 83 have to convert if necessary */
84 static int 84 static int
85 play_sound_data_1 (UChar_Binary *data, int length, int volume, 85 play_sound_data_1 (UChar_Binary *data, int length, int UNUSED (volume),
86 int convert_to_malloc) 86 int convert_to_malloc)
87 { 87 {
88 DWORD flags = SND_ASYNC | SND_MEMORY | SND_NODEFAULT; 88 DWORD flags = SND_ASYNC | SND_MEMORY | SND_NODEFAULT;
89 static UChar_Binary *sound_data = 0; 89 static UChar_Binary *sound_data = 0;
90 if (sound_data) 90 if (sound_data)