diff options
Diffstat (limited to 'engines/bladerunner/audio_speech.h')
-rw-r--r-- | engines/bladerunner/audio_speech.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/bladerunner/audio_speech.h b/engines/bladerunner/audio_speech.h index ae7065865b..f3e4395d5d 100644 --- a/engines/bladerunner/audio_speech.h +++ b/engines/bladerunner/audio_speech.h @@ -23,18 +23,18 @@ #ifndef BLADERUNNER_AUDIO_SPEECH_H #define BLADERUNNER_AUDIO_SPEECH_H -#include "audio/mixer.h" +#include "common/types.h" namespace BladeRunner { class BladeRunnerEngine; class AudioSpeech { -private: BladeRunnerEngine *_vm; + int _volume; - bool _isMaybeActive; - Audio::SoundHandle _soundHandle; + bool _isActive; + int _channel; byte *_data; public: @@ -45,6 +45,10 @@ public: void stopSpeech(); bool isPlaying(); void setVolume(int volume) { _volume = volume; } + +private: + void ended(); + static void mixerChannelEnded(int channel, void *data); }; } // End of namespace BladeRunner |