diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-05-24 04:13:02 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-05-24 05:49:41 -0400 |
| commit | 35ee8a136237042efa6987e954c135f91a065cd0 (patch) | |
| tree | d84a20d521f2a3eb8a4f4ecaca95d577798e294e /Source/Core/AudioCommon/PulseAudioStream.cpp | |
| parent | a6e5fd1e27385bb68844584927d45ec32b99eb55 (diff) | |
SoundStream: Internally construct the mixer
Instead of creating the mixer externally and then passing it in, it can just be made within the class.
Diffstat (limited to 'Source/Core/AudioCommon/PulseAudioStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/PulseAudioStream.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/AudioCommon/PulseAudioStream.cpp b/Source/Core/AudioCommon/PulseAudioStream.cpp index 8f36286403..aae3f68aae 100644 --- a/Source/Core/AudioCommon/PulseAudioStream.cpp +++ b/Source/Core/AudioCommon/PulseAudioStream.cpp @@ -13,9 +13,8 @@ namespace const size_t BUFFER_SAMPLES = 512; // ~10 ms - needs to be at least 240 for surround } -PulseAudio::PulseAudio(CMixer *mixer) - : SoundStream(mixer) - , m_thread() +PulseAudio::PulseAudio() + : m_thread() , m_run_thread() { } |
