Skip to content

True stereo raw audio when the sender provides it - #177

Merged
iamfatness merged 1 commit into
mac-portfrom
mac-port-mac
Aug 2, 2026
Merged

True stereo raw audio when the sender provides it#177
iamfatness merged 1 commit into
mac-portfrom
mac-port-mac

Conversation

@iamfatness

Copy link
Copy Markdown
Owner

Sets isAudioRawDataStereo on the join parameters of both engines (the SDK default is mono, which is why every session logged channels:1). Stereo senders now arrive as two real channels; mono senders are duplicated to both by the SDK. All consumers already honor the frame header's channel count end to end — the one gap was a mono-preference source on a 2-channel wire, which now downmixes by averaging instead of silently outputting stereo. Labels updated: "Stereo (true stereo when the sender provides it)".

🤖 Generated with Claude Code

…urces

Raw audio has been mono because nothing ever asked otherwise:
isAudioRawDataStereo on the join parameters defaults to mono. Set it on both
engines - stereo senders (Original Sound with stereo) now arrive as two real
channels and mono senders arrive duplicated by the SDK itself.

The consumers already keyed everything off the frame header's channel count;
the only missing piece was a mono-preference source receiving a 2-channel
wire, which now averages the pair instead of silently going stereo. The
stereo option's label no longer claims to be a duplicate of mono.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@iamfatness
iamfatness merged commit 2a7b57a into mac-port Aug 2, 2026
3 of 4 checks passed
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