summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Mixer.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-26 17:13:07 -0400
committerLioncash <mathew1800@gmail.com>2015-09-26 18:51:58 -0400
commitcc036ca86cdaf709e01221975da734cb64d54a94 (patch)
tree3b0fbcf245df0314dbf1002d930037375ebc5e42 /Source/Core/AudioCommon/Mixer.cpp
parent19ac565e0dafccd3728b58a0d92cdc0cb74e4be0 (diff)
Common: Remove other Common prefixed headers from Common.h
Diffstat (limited to 'Source/Core/AudioCommon/Mixer.cpp')
-rw-r--r--Source/Core/AudioCommon/Mixer.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/Core/AudioCommon/Mixer.cpp b/Source/Core/AudioCommon/Mixer.cpp
index 1bebe88595..56370ed350 100644
--- a/Source/Core/AudioCommon/Mixer.cpp
+++ b/Source/Core/AudioCommon/Mixer.cpp
@@ -18,6 +18,18 @@
#include <tmmintrin.h>
#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)
+{
+ INFO_LOG(AUDIO_INTERFACE, "Mixer is initialized");
+}
+
// Executed from sound stream thread
unsigned int CMixer::MixerFifo::Mix(short* samples, unsigned int numSamples, bool consider_framelimit)
{