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.
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.