mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-05 01:10:24 +00:00
LibMedia: Remove an explicit cast when constructing PulseAudioStream
This commit is contained in:
committed by
Gregory Bertilson
parent
b8bc129a3c
commit
2c73848f78
Notes:
github-actions[bot]
2025-11-24 21:10:58 +00:00
Author: https://github.com/Zaggy1024 Commit: https://github.com/LadybirdBrowser/ladybird/commit/2c73848f780 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6684
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user