X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsound.h;h=3e392a599d02fe1e949d866839f195b8d97bdd00;hb=edaa850fd2d2cae7ec31961fae3d56487e710c71;hp=20852138ca194d9d34b35dd4fcf9a4bad8e28007;hpb=d9c8ce45df9d28dfe8061b67f10677d63b804f0a;p=rocksndiamonds.git diff --git a/src/libgame/sound.h b/src/libgame/sound.h index 20852138..3e392a59 100644 --- 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 +#define AUDIO_SAMPLE_RATE_44100 44100 #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); +boolean isSoundPlaying(int); + // sound client functions void PlayMusic(int); void PlayMusicLoop(int);