aboutsummaryrefslogtreecommitdiff
path: root/backends/mixer
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/mixer
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/mixer')
-rw-r--r--backends/mixer/nullmixer/nullsdl-mixer.cpp2
-rw-r--r--backends/mixer/sdl/sdl-mixer.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/mixer/nullmixer/nullsdl-mixer.cpp b/backends/mixer/nullmixer/nullsdl-mixer.cpp
index 97b59bb2ed..8f112e1fa0 100644
--- a/backends/mixer/nullmixer/nullsdl-mixer.cpp
+++ b/backends/mixer/nullmixer/nullsdl-mixer.cpp
@@ -38,7 +38,7 @@ NullSdlMixerManager::~NullSdlMixerManager() {
}
void NullSdlMixerManager::init() {
- _mixer = new Audio::MixerImpl(g_system, _outputRate);
+ _mixer = new Audio::MixerImpl(_outputRate);
assert(_mixer);
_mixer->setReady(true);
}
diff --git a/backends/mixer/sdl/sdl-mixer.cpp b/backends/mixer/sdl/sdl-mixer.cpp
index 0af0748a2a..2a46d877b2 100644
--- a/backends/mixer/sdl/sdl-mixer.cpp
+++ b/backends/mixer/sdl/sdl-mixer.cpp
@@ -81,7 +81,7 @@ void SdlMixerManager::init() {
warning("Could not open audio device: %s", SDL_GetError());
// The mixer is not marked as ready
- _mixer = new Audio::MixerImpl(g_system, desired.freq);
+ _mixer = new Audio::MixerImpl(desired.freq);
return;
}
@@ -96,7 +96,7 @@ void SdlMixerManager::init() {
warning("Could not open audio device: %s", SDL_GetError());
// The mixer is not marked as ready
- _mixer = new Audio::MixerImpl(g_system, desired.freq);
+ _mixer = new Audio::MixerImpl(desired.freq);
return;
}
@@ -118,7 +118,7 @@ void SdlMixerManager::init() {
error("SDL mixer output requires stereo output device");
#endif
- _mixer = new Audio::MixerImpl(g_system, _obtained.freq);
+ _mixer = new Audio::MixerImpl(_obtained.freq);
assert(_mixer);
_mixer->setReady(true);