Channel Order Confusion #1029
Unanswered
directmusic
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I'm having a bit of confusion around the expected order of channels on Linux when recording using the ALSA backend. My audio interface has 4 channels in and 4 channels out.
When using miniaudio.h on Windows or macOS the order in which the callback receives its data is interleaved like this: 1, 2, 3, 4, but on Linux (using ALSA) it receives its data 1, 3, 2, 4. This happens when using any of the "Monitor Of [device name]" loopback devices or when using the inputs on my interface directly.
This is how I am initializing it.
Audacity and Bitwig seem to receive the audio in the order I expect as well. I tested with the current dev and dev 0.12 branches and they have the same behavior.
Is there something I have missed?
Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions