projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added setup option to select 22500 or 44100 Hz audio sample rate
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 6706f2014241f2b935cbbb5fedb6e74ffbda1d32..d8ca9a29a1e7f4191b32e22d5c4b9a5e213f6ef3 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-1114,6
+1114,8
@@
struct AudioSystemInfo
char *device_name;
int device_fd;
char *device_name;
int device_fd;
+ int sample_rate;
+
int num_channels;
int music_channel;
int first_sound_channel;
int num_channels;
int music_channel;
int first_sound_channel;
@@
-1541,6
+1543,7
@@
struct SetupInfo
int volume_simple;
int volume_loops;
int volume_music;
int volume_simple;
int volume_loops;
int volume_music;
+ boolean audio_sample_rate_44100;
boolean network_mode;
int network_player_nr;
boolean network_mode;
int network_player_nr;