Skip to content

fix(coreaudio): prefer stereo output configuration on iOS#1216

Merged
roderickvd merged 1 commit into
masterfrom
fix/ios-prefer-stereo
May 25, 2026
Merged

fix(coreaudio): prefer stereo output configuration on iOS#1216
roderickvd merged 1 commit into
masterfrom
fix/ios-prefer-stereo

Conversation

@roderickvd

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CoreAudio iOS backend’s default_output_config() selection logic so that the chosen default output format is stereo (when available) rather than the maximum available channel count, improving the default behavior on multi-channel output routes.

Changes:

  • Update iOS default_output_config() to select the “best” supported config via SupportedStreamConfigRange::cmp_default_heuristics (which prioritizes stereo first).
  • Document the behavior change in the changelog.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/host/coreaudio/ios/mod.rs Switches default output config selection from “last (max channels)” to cmp_default_heuristics max selection to prefer stereo.
CHANGELOG.md Adds a changelog entry describing the new stereo-preference behavior for iOS default output config.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@roderickvd roderickvd merged commit ed7e988 into master May 25, 2026
33 checks passed
@roderickvd roderickvd deleted the fix/ios-prefer-stereo branch May 25, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants