aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorCameron Cawley2019-11-30 13:38:06 +0000
committerFilippos Karapetis2019-11-30 17:47:34 +0200
commit2048c9cc7810948f6dc913dd44e606efcab9bb2b (patch)
tree8eb1165ed1f3a1234c1f1f4f9f1b44e9828130b2 /audio
parent25f6c7882504a03b50ed755d14947685f58d8691 (diff)
downloadscummvm-rg350-2048c9cc7810948f6dc913dd44e606efcab9bb2b.tar.gz
scummvm-rg350-2048c9cc7810948f6dc913dd44e606efcab9bb2b.tar.bz2
scummvm-rg350-2048c9cc7810948f6dc913dd44e606efcab9bb2b.zip
AUDIO: Remove unused parameter from the MixerImpl constructor
Diffstat (limited to 'audio')
-rw-r--r--audio/mixer.cpp4
-rw-r--r--audio/mixer_intern.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/audio/mixer.cpp b/audio/mixer.cpp
index 274f8e9de6..9eb3e6714a 100644
--- a/audio/mixer.cpp
+++ b/audio/mixer.cpp
@@ -23,7 +23,6 @@
#include "gui/EventRecorder.h"
#include "common/util.h"
-#include "common/system.h"
#include "common/textconsole.h"
#include "audio/mixer_intern.h"
@@ -173,8 +172,7 @@ private:
#pragma mark --- Mixer ---
#pragma mark -
-// TODO: parameter "system" is unused
-MixerImpl::MixerImpl(OSystem *system, uint sampleRate)
+MixerImpl::MixerImpl(uint sampleRate)
: _mutex(), _sampleRate(sampleRate), _mixerReady(false), _handleSeed(0), _soundTypeSettings() {
assert(sampleRate > 0);
diff --git a/audio/mixer_intern.h b/audio/mixer_intern.h
index a8b7981571..9cb7fa0e9e 100644
--- a/audio/mixer_intern.h
+++ b/audio/mixer_intern.h
@@ -73,7 +73,7 @@ private:
public:
- MixerImpl(OSystem *system, uint sampleRate);
+ MixerImpl(uint sampleRate);
~MixerImpl();
virtual bool isReady() const { return _mixerReady; }