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.h | |
| 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.h')
| -rw-r--r-- | Source/Core/AudioCommon/PulseAudioStream.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/AudioCommon/PulseAudioStream.h b/Source/Core/AudioCommon/PulseAudioStream.h index 7e04e671f2..0d31d3f65b 100644 --- a/Source/Core/AudioCommon/PulseAudioStream.h +++ b/Source/Core/AudioCommon/PulseAudioStream.h @@ -18,7 +18,7 @@ class PulseAudio final : public SoundStream { #if defined(HAVE_PULSEAUDIO) && HAVE_PULSEAUDIO public: - PulseAudio(CMixer *mixer); + PulseAudio(); virtual bool Start() override; virtual void Stop() override; @@ -56,8 +56,5 @@ private: pa_context *m_pa_ctx; pa_stream *m_pa_s; pa_buffer_attr m_pa_ba; -#else -public: - PulseAudio(CMixer *mixer) : SoundStream(mixer) {} #endif }; |
