aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.h
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-21 16:21:27 +0000
committerJohannes Schickel2008-03-21 16:21:27 +0000
commitb615eb177b0b840204d2f1483a7c677e1fcfeedc (patch)
treed43196e2a2453862e7838eaa44dbc5488956a2e0 /engines/kyra/sound.h
parenta169619526c811f1718bbeb5ed980f68b9d2c8e7 (diff)
downloadscummvm-rg350-b615eb177b0b840204d2f1483a7c677e1fcfeedc.tar.gz
scummvm-rg350-b615eb177b0b840204d2f1483a7c677e1fcfeedc.tar.bz2
scummvm-rg350-b615eb177b0b840204d2f1483a7c677e1fcfeedc.zip
Cleanup.
svn-id: r31210
Diffstat (limited to 'engines/kyra/sound.h')
-rw-r--r--engines/kyra/sound.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/engines/kyra/sound.h b/engines/kyra/sound.h
index 7c3bce38bc..1970daa2e2 100644
--- a/engines/kyra/sound.h
+++ b/engines/kyra/sound.h
@@ -185,6 +185,12 @@ protected:
enum {
kNumChannelHandles = 4
};
+
+ struct SoundChannel {
+ Common::String file;
+ Audio::SoundHandle channelHandle;
+ };
+ SoundChannel _soundChannels[kNumChannelHandles];
int _musicEnabled;
bool _sfxEnabled;
@@ -197,12 +203,6 @@ protected:
private:
const AudioDataStruct *_soundDataList;
- struct SoundChannel {
- Common::String file;
- Audio::SoundHandle channelHandle;
- };
- SoundChannel _soundChannels[kNumChannelHandles];
-
struct SpeechCodecs {
const char *fileext;
Audio::AudioStream *(*streamFunc)(
@@ -428,14 +428,13 @@ public:
void haltTrack();
void beginFadeOut();
- void voicePlay(const char *file);
+ bool voicePlay(const char *file);
void playSoundEffect(uint8) {}
private:
int _lastTrack;
Audio::AudioStream *_currentSFX;
- Audio::SoundHandle _sfxHandles[kNumChannelHandles];
//SoundTowns_v2_TwnDriver *_driver;
uint8 *_twnTrackData;