Skip to content

Commit 2c73848

Browse files
committed
LibMedia: Remove an explicit cast when constructing PulseAudioStream
1 parent b8bc129 commit 2c73848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/LibMedia/Audio/PulseAudioWrappers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ ErrorOr<NonnullRefPtr<PulseAudioStream>> PulseAudioContext::create_stream(Output
206206
},
207207
this);
208208

209-
auto stream_wrapper = TRY(adopt_nonnull_ref_or_enomem(new (nothrow) PulseAudioStream(NonnullRefPtr(*this), stream)));
209+
auto stream_wrapper = TRY(adopt_nonnull_ref_or_enomem(new (nothrow) PulseAudioStream(*this, stream)));
210210

211211
stream_wrapper->m_write_callback = move(write_callback);
212212
pa_stream_set_write_callback(

0 commit comments

Comments
 (0)