22 #ifndef BLADERUNNER_MUSIC_H 23 #define BLADERUNNER_MUSIC_H 25 #include "common/mutex.h" 26 #include "common/str.h" 28 #include "bladerunner/bladerunner.h" 33 class BladeRunnerEngine;
34 class SaveFileReadStream;
35 class SaveFileWriteStream;
42 int32 timeFadeInSeconds;
43 int32 timePlaySeconds;
46 int32 timeFadeOutSeconds;
52 int _musicVolumeFactorOriginalEngine;
66 bool play(
const Common::String &trackName,
int volume,
int pan, int32 timeFadeInSeconds, int32 timePlaySeconds,
int loop, int32 timeFadeOutSeconds);
67 void stop(uint32 delaySeconds);
68 void adjust(
int volume,
int pan, uint32 delaySeconds);
71 void setVolume(
int volume);
72 int getVolume()
const;
78 #if !BLADERUNNER_ORIGINAL_BUGS 82 #endif // !BLADERUNNER_ORIGINAL_BUGS 87 #if BLADERUNNER_ORIGINAL_BUGS 88 void adjustVolume(
int adjustedVolume, uint32 delaySeconds);
90 void adjustVolume(
int volume, uint32 delaySeconds);
91 #endif // BLADERUNNER_ORIGINAL_BUGS 92 void adjustPan(
int pan, uint32 delaySeconds);
95 #if BLADERUNNER_ORIGINAL_BUGS 98 static void timerCallbackFadeOut(
void *refCon);
99 static void timerCallbackNext(
void *refCon);
100 #endif // BLADERUNNER_ORIGINAL_BUGS 102 static void mixerChannelEnded(
int channel,
void *data);
Definition: savefile.h:88
Definition: savefile.h:113
Definition: bladerunner.h:113
Definition: aud_stream.h:35