File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -280,6 +280,12 @@ ErrorOr<NonnullRefPtr<PulseAudioStream>> PulseAudioContext::create_stream(Output
280280 return stream_wrapper;
281281}
282282
283+ PulseAudioStream::PulseAudioStream (NonnullRefPtr<PulseAudioContext>&& context, pa_stream* stream)
284+ : m_context(context)
285+ , m_stream(stream)
286+ {
287+ }
288+
283289PulseAudioStream::~PulseAudioStream ()
284290{
285291 auto locker = m_context->main_loop_locker ();
Original file line number Diff line number Diff line change @@ -126,11 +126,7 @@ class PulseAudioStream : public AtomicRefCounted<PulseAudioStream> {
126126private:
127127 friend class PulseAudioContext ;
128128
129- explicit PulseAudioStream (NonnullRefPtr<PulseAudioContext>&& context, pa_stream* stream)
130- : m_context(context)
131- , m_stream(stream)
132- {
133- }
129+ explicit PulseAudioStream (NonnullRefPtr<PulseAudioContext>&& context, pa_stream* stream);
134130 PulseAudioStream (PulseAudioStream const & other) = delete ;
135131
136132 ErrorOr<void > wait_for_operation (pa_operation*, StringView error_message);
You can’t perform that action at this time.
0 commit comments