projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
extended support for rock/diamond settings in BD engine to level editor
[rocksndiamonds.git]
/
src
/
libgame
/
sound.h
diff --git
a/src/libgame/sound.h
b/src/libgame/sound.h
index 9f6c754c0e37f2d04e5bd1a71d12c718fc558204..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);
@@
-122,6
+125,7
@@
void ExpireSoundLoops(boolean);
int getSoundListSize(void);
int getMusicListSize(void);
int getSoundListSize(void);
int getMusicListSize(void);
+int getMusicListSize_NoConf(void);
struct FileInfo *getSoundListEntry(int);
struct FileInfo *getMusicListEntry(int);
char *getSoundInfoEntryFilename(int);
struct FileInfo *getSoundListEntry(int);
struct FileInfo *getMusicListEntry(int);
char *getSoundInfoEntryFilename(int);