X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=432787c2bdf4a5c04123e97b379846709775ef97;hb=e788c9b6a44d9f2dea7aa048b48a11b14761229e;hp=98b16c42597b14a4d640a22ca2c4665a00167d72;hpb=1101077a226b09854650662759bf12caf7c84f8d;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index 98b16c42..432787c2 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -742,13 +742,14 @@ inline void OpenAudio(void) audio.sound_enabled = FALSE; audio.sound_deactivated = FALSE; - audio.soundserver_pipe[0] = audio.soundserver_pipe[1] = 0; - audio.soundserver_pid = -1; + audio.mixer_pipe[0] = audio.mixer_pipe[1] = 0; + audio.mixer_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.first_sound_channel = 0; #if defined(TARGET_SDL) SDLOpenAudio();