aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/tizen
diff options
context:
space:
mode:
authorCameron Cawley2019-11-30 13:38:06 +0000
committerFilippos Karapetis2019-11-30 17:47:34 +0200
commit2048c9cc7810948f6dc913dd44e606efcab9bb2b (patch)
tree8eb1165ed1f3a1234c1f1f4f9f1b44e9828130b2 /backends/platform/tizen
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 'backends/platform/tizen')
-rw-r--r--backends/platform/tizen/audio.cpp4
-rw-r--r--backends/platform/tizen/audio.h2
-rw-r--r--backends/platform/tizen/system.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/tizen/audio.cpp b/backends/platform/tizen/audio.cpp
index b2e061baef..bedac2de61 100644
--- a/backends/platform/tizen/audio.cpp
+++ b/backends/platform/tizen/audio.cpp
@@ -43,7 +43,7 @@ AudioThread::AudioThread() :
_muted(true) {
}
-Audio::MixerImpl *AudioThread::Construct(OSystem *system) {
+Audio::MixerImpl *AudioThread::Construct() {
logEntered();
if (IsFailed(EventDrivenThread::Construct(DEFAULT_STACK_SIZE, THREAD_PRIORITY_HIGH))) {
@@ -51,7 +51,7 @@ Audio::MixerImpl *AudioThread::Construct(OSystem *system) {
return NULL;
}
- _mixer = new Audio::MixerImpl(system, 44100);
+ _mixer = new Audio::MixerImpl(44100);
return _mixer;
}
diff --git a/backends/platform/tizen/audio.h b/backends/platform/tizen/audio.h
index de4724eb3c..db87d78123 100644
--- a/backends/platform/tizen/audio.h
+++ b/backends/platform/tizen/audio.h
@@ -50,7 +50,7 @@ public:
AudioThread(void);
~AudioThread(void);
- Audio::MixerImpl *Construct(OSystem *system);
+ Audio::MixerImpl *Construct();
bool isSilentMode();
void setMute(bool on);
diff --git a/backends/platform/tizen/system.cpp b/backends/platform/tizen/system.cpp
index 3eaa99e39b..23b07187bb 100644
--- a/backends/platform/tizen/system.cpp
+++ b/backends/platform/tizen/system.cpp
@@ -287,7 +287,7 @@ result TizenSystem::initModules() {
return E_OUT_OF_MEMORY;
}
- _mixer = _audioThread->Construct(this);
+ _mixer = _audioThread->Construct();
if (!_mixer) {
return E_OUT_OF_MEMORY;
}