Skip to content

Is it possible to use specific device channels for input/output? #621

Answered by mackron
bjorn-nesby asked this question in Q&A
Discussion options

You must be logged in to vote

In the past I've suggested doing as you mentioned - set the channels to 0 in the device config which will result in the native channel count being used, and then just don't use the unused channels in the data callback.

There's also the channel mapping system, but the thing is, it's been designed around the concept of spatial audio channels in that you specify channels like FRONT_LEFT, BACK_RIGHT, etc. It's doesn't really map too well to your scenario. In any case, even if you were to use a channel map, it would still be processing audio for those unused channels under the hood anyway.

Sorry I can't be of much help with this. There's probably no real reason I couldn't update the channel ma…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bjorn-nesby
Comment options

@erikjalevik
Comment options

@mackron
Comment options

Answer selected by bjorn-nesby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants