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/AlsaSoundStream.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/AlsaSoundStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/AlsaSoundStream.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/AudioCommon/AlsaSoundStream.cpp b/Source/Core/AudioCommon/AlsaSoundStream.cpp index 2bcb4ddbfb..b9e92d23a4 100644 --- a/Source/Core/AudioCommon/AlsaSoundStream.cpp +++ b/Source/Core/AudioCommon/AlsaSoundStream.cpp @@ -10,9 +10,8 @@ #define BUFFER_SIZE_MAX 8192 #define BUFFER_SIZE_BYTES (BUFFER_SIZE_MAX*2*2) -AlsaSound::AlsaSound(CMixer *mixer) - : SoundStream(mixer) - , m_thread_status(ALSAThreadStatus::STOPPED) +AlsaSound::AlsaSound() + : m_thread_status(ALSAThreadStatus::STOPPED) , handle(nullptr) , frames_to_deliver(FRAME_COUNT_MIN) { |
