diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-01-14 01:19:25 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-01-14 01:32:31 -0500 |
| commit | fc6a2f490ffe9bfcf68d56549b4887e6ff5aa515 (patch) | |
| tree | d9396bca6399f0e638db9576fafa4ddb4909f176 /Source/Core/AudioCommon/Mixer.cpp | |
| parent | 531a3ed09a85f646aff5dfb5754f0a2147842518 (diff) | |
Mixer: Directly initialize class members
Diffstat (limited to 'Source/Core/AudioCommon/Mixer.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Mixer.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Source/Core/AudioCommon/Mixer.cpp b/Source/Core/AudioCommon/Mixer.cpp index eff1dbe584..505a3b2551 100644 --- a/Source/Core/AudioCommon/Mixer.cpp +++ b/Source/Core/AudioCommon/Mixer.cpp @@ -6,11 +6,11 @@ #include "AudioCommon/AudioCommon.h" #include "AudioCommon/Mixer.h" -#include "Common/CPUDetect.h" +#include "Common/CommonFuncs.h" +#include "Common/CommonTypes.h" #include "Common/MathUtil.h" +#include "Common/Logging/Log.h" #include "Core/ConfigManager.h" -#include "Core/Core.h" -#include "Core/HW/AudioInterface.h" // UGLINESS #include "Core/PowerPC/PowerPC.h" @@ -20,13 +20,7 @@ #endif CMixer::CMixer(unsigned int BackendSampleRate) - : m_dma_mixer(this, 32000) - , m_streaming_mixer(this, 48000) - , m_wiimote_speaker_mixer(this, 3000) - , m_sampleRate(BackendSampleRate) - , m_log_dtk_audio(false) - , m_log_dsp_audio(false) - , m_speed(0) + : m_sampleRate(BackendSampleRate) { INFO_LOG(AUDIO_INTERFACE, "Mixer is initialized"); } |
