LibMedia: Remove an explicit cast when constructing PulseAudioStream

This commit is contained in:
Zaggy1024
2025-10-24 13:03:46 -05:00
committed by Gregory Bertilson
parent b8bc129a3c
commit 2c73848f78
Notes: github-actions[bot] 2025-11-24 21:10:58 +00:00

View File

@@ -206,7 +206,7 @@ ErrorOr<NonnullRefPtr<PulseAudioStream>> PulseAudioContext::create_stream(Output
},
this);
auto stream_wrapper = TRY(adopt_nonnull_ref_or_enomem(new (nothrow) PulseAudioStream(NonnullRefPtr(*this), stream)));
auto stream_wrapper = TRY(adopt_nonnull_ref_or_enomem(new (nothrow) PulseAudioStream(*this, stream)));
stream_wrapper->m_write_callback = move(write_callback);
pa_stream_set_write_callback(