projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20020510-2-src
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index 98b16c42597b14a4d640a22ca2c4665a00167d72..42c4a6ecfeba9c9df412a0673046a450863afa55 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-745,10
+745,11
@@
inline void OpenAudio(void)
audio.soundserver_pipe[0] = audio.soundserver_pipe[1] = 0;
audio.soundserver_pid = -1;
audio.device_name = NULL;
audio.soundserver_pipe[0] = audio.soundserver_pipe[1] = 0;
audio.soundserver_pid = -1;
audio.device_name = NULL;
- audio.device_fd =
0
;
+ audio.device_fd =
-1
;
- audio.channels = 0;
+ audio.
num_
channels = 0;
audio.music_channel = 0;
audio.music_channel = 0;
+ audio.first_sound_channel = 0;
#if defined(TARGET_SDL)
SDLOpenAudio();
#if defined(TARGET_SDL)
SDLOpenAudio();