PortAudio / portaudio

PortAudio is a cross-platform, open-source C language library for real-time audio input and output.
Other
1.46k stars 303 forks source link

Fix bug: Permit AsioStreamInfo without channel selectors #885

Closed EvanBalster closed 7 months ago

EvanBalster commented 7 months ago

Validation for PaAsioStreamInfo currently fails if the channelSelectors field is null. As of March 1, 2024 channelSelectors is the only feature enabled by this structure but PR #519 will add another.

This PR amends the check so channelSelectors is only validated if the paAsioUseChannelSelectors flag is set in PaAsioStreamInfo.