projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed element positions in level editor element palette
[rocksndiamonds.git]
/
src
/
libgame
/
sound.h
diff --git
a/src/libgame/sound.h
b/src/libgame/sound.h
index 20852138ca194d9d34b35dd4fcf9a4bad8e28007..3e392a599d02fe1e949d866839f195b8d97bdd00 100644
(file)
--- a/
src/libgame/sound.h
+++ b/
src/libgame/sound.h
@@
-17,6
+17,7
@@
// values for platform specific sound initialization
#define AUDIO_SAMPLE_RATE_22050 22050
// values for platform specific sound initialization
#define AUDIO_SAMPLE_RATE_22050 22050
+#define AUDIO_SAMPLE_RATE_44100 44100
#define AUDIO_FRAGMENT_SIZE_512 512
#define AUDIO_FRAGMENT_SIZE_1024 1024
#define AUDIO_FRAGMENT_SIZE_512 512
#define AUDIO_FRAGMENT_SIZE_1024 1024
@@
-101,6
+102,8
@@
void UnixCloseAudio(void);
void Mixer_InitChannels(void);
void StartMixer(void);
void Mixer_InitChannels(void);
void StartMixer(void);
+boolean isSoundPlaying(int);
+
// sound client functions
void PlayMusic(int);
void PlayMusicLoop(int);
// sound client functions
void PlayMusic(int);
void PlayMusicLoop(int);