projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renamed another preprocessor constant
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index 37fe3a77cab0821c1bd30d4c8a5f07548aec3125..a1f009f77c8470f5d0b7e0fcbe85eb97db53ecd0 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-1668,6
+1668,8
@@
void OpenAudio(void)
audio.device_name = NULL;
audio.device_fd = -1;
audio.device_name = NULL;
audio.device_fd = -1;
+ audio.sample_rate = DEFAULT_AUDIO_SAMPLE_RATE;
+
audio.num_channels = 0;
audio.music_channel = 0;
audio.first_sound_channel = 0;
audio.num_channels = 0;
audio.music_channel = 0;
audio.first_sound_channel = 0;