-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a failover pattern for finding device channel layout
VoiceProcessingIO cannot return the channel layout for their output device. With this patch we try anyway, and if we are using vpio, we failover to creating a dedicated AudioUnit for the output device and querying that. If that fails, we failover to querying for the preferred layout on the dedicated AudioUnit, if there is one, then for the preferred layout on the main unit, in order to retain the old behavior.
- Loading branch information
Showing
2 changed files
with
66 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters