aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/sound/adlib.h
diff options
context:
space:
mode:
authorMax Horn2015-07-19 17:06:18 +0200
committerMax Horn2015-07-19 17:06:18 +0200
commit91e925d8cec1eff97d76ba4f0870171a3cb5b3b3 (patch)
tree2cdad056dbd9bbd1327155d6b34f804739f9fbdb /engines/gob/sound/adlib.h
parentb52d48e0da709e6b78bf08a3cf4b2df3e100b500 (diff)
downloadscummvm-rg350-91e925d8cec1eff97d76ba4f0870171a3cb5b3b3.tar.gz
scummvm-rg350-91e925d8cec1eff97d76ba4f0870171a3cb5b3b3.tar.bz2
scummvm-rg350-91e925d8cec1eff97d76ba4f0870171a3cb5b3b3.zip
GOB: Get rid of unused Audio::mixer references
Also remove the unused AdLib::_rate member variable.
Diffstat (limited to 'engines/gob/sound/adlib.h')
-rw-r--r--engines/gob/sound/adlib.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/gob/sound/adlib.h b/engines/gob/sound/adlib.h
index 28ebf9d998..d60458295c 100644
--- a/engines/gob/sound/adlib.h
+++ b/engines/gob/sound/adlib.h
@@ -37,7 +37,7 @@ namespace Gob {
/** Base class for a player of an AdLib music format. */
class AdLib {
public:
- AdLib(Audio::Mixer &mixer, int callbackFrequency);
+ AdLib(int callbackFrequency);
virtual ~AdLib();
bool isPlaying() const; ///< Are we currently playing?
@@ -225,15 +225,12 @@ private:
static const uint16 kHihatParams [kParamCount];
- Audio::Mixer *_mixer;
OPL::OPL *_opl;
Common::Mutex _mutex;
int _volume;
- uint32 _rate;
-
uint32 _toPoll;
int32 _repCount;