aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/core.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-11-04 09:36:18 +0000
committerFilippos Karapetis2009-11-04 09:36:18 +0000
commit597524b255a75bb61830c8c518d990a38a4923b5 (patch)
tree45f447cdca0b485e5d6373bf5f1bd2fe64370bb1 /engines/sci/sfx/core.h
parent66d3540f2caf23a4ba9fd59bd30d13302f1d8064 (diff)
downloadscummvm-rg350-597524b255a75bb61830c8c518d990a38a4923b5.tar.gz
scummvm-rg350-597524b255a75bb61830c8c518d990a38a4923b5.tar.bz2
scummvm-rg350-597524b255a75bb61830c8c518d990a38a4923b5.zip
Moved most of the code for playing sound effects and speech into a separate class
svn-id: r45653
Diffstat (limited to 'engines/sci/sfx/core.h')
-rw-r--r--engines/sci/sfx/core.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/engines/sci/sfx/core.h b/engines/sci/sfx/core.h
index 1cb6540e8e..92ea788636 100644
--- a/engines/sci/sfx/core.h
+++ b/engines/sci/sfx/core.h
@@ -169,15 +169,6 @@ public:
Common::Error sfx_send_midi(SongHandle handle, int channel,
int command, int arg1, int arg2);
- // Functions for digital sound
- void setAudioRate(uint16 rate) { _audioRate = rate; }
- Audio::SoundHandle* getAudioHandle() { return &_audioHandle; }
- int getAudioPosition();
- int startAudio(uint16 module, uint32 tuple);
- void stopAudio() { g_system->getMixer()->stopHandle(_audioHandle); }
- void pauseAudio() { g_system->getMixer()->pauseHandle(_audioHandle, true); }
- void resumeAudio() { g_system->getMixer()->pauseHandle(_audioHandle, false); }
-
// misc
/**
@@ -207,11 +198,6 @@ protected:
void updateSingleSong();
void updateMultiSong();
void update();
-
-private:
- uint16 _audioRate;
- Audio::SoundHandle _audioHandle;
- Audio::AudioStream* getAudioStream(uint32 number, uint32 volume, int *sampleLen);
};
} // End of namespace Sci