Skip to content

Fix AUv2 main channel capability reporting - #153

Merged
satoshi-szk merged 2 commits into
novonotes:novonotes-internalfrom
satoshi-assistant:codex/fix-auv2-main-channel-capabilities
Aug 13, 2026
Merged

Fix AUv2 main channel capability reporting#153
satoshi-szk merged 2 commits into
novonotes:novonotes-internalfrom
satoshi-assistant:codex/fix-auv2-main-channel-capabilities

Conversation

@satoshi-assistant

Copy link
Copy Markdown
Contributor

Summary

  • report AUv2 channel capabilities from main input and output ports only
  • keep the existing zero-channel fallback when no main port exists

Root cause

SupportedNumChannels() combined channel counts from every bus. A differently sized auxiliary bus was therefore advertised as a supported main input/output configuration, even though ValidFormat() correctly rejected that channel count for the main bus.

Validation

  • built a multi-bus AUv2 plugin with a stereo main input, mono auxiliary input, and stereo main output
  • confirmed auval reports only [2, 2] and completes successfully
  • git diff --check

@satoshi-szk
satoshi-szk marked this pull request as ready for review August 13, 2026 02:48
@satoshi-szk
satoshi-szk merged commit c5752bd into novonotes:novonotes-internal Aug 13, 2026
8 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.

2 participants