Skip to content

Conversation

@Be-ing
Copy link
Contributor

@Be-ing Be-ing commented Nov 4, 2025

This change is needed for the same reason as
b776e64 (#722):

A change in the resampler API introduced in libwebrtc m137 caused the output frame's samples_per_channel_ property to remain uninitialized. As a result, the length of the output slice was always calculated as zero, resulting in NativeAudioStream yielding audio frames without any sample data.

This change is needed for the same reason as
b776e64 (livekit#722):

A change in the resampler API introduced in libwebrtc m137 caused
the output frame's samples_per_channel_ property to remain
uninitialized. As a result, the length of the output slice was
always calculated as zero, resulting in NativeAudioStream yielding
audio frames without any sample data.
@Be-ing
Copy link
Contributor Author

Be-ing commented Nov 4, 2025

I'm unclear why #722 made a change at a higher level of the stack in NativeAudioSink rather than fixing it here. Zed calls AudioResampler::remix_and_resample directly, so switching to this repository's main branch broke audio playback in Zed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant