Closed TheJollyDuck closed 1 year ago
I'm not sure if we have ever tried using all channels after switching to the Ubuntu-based image.
"PCH_input" and "default" were the respective "PCM handle identifiers" (ALSA nomenclature is a bit complicated) on the standard NAO6 image.
Maybe one needs to do additional things in the ALSA configuration to actually get a 4-channel audio stream (https://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_multi). I remember something like that was done in the original Ubuntu image generator script by the Nao Devils, so they may know more.
I am closing this since, although it's arguably a bug, it's not something that occurs in the default configuration of the system and is therefore out of the scope of things we fix after a release.
Hi,
I'm having problems with the
AudioProvider.cpp
code whenallChannels = true
inAudioProvider.cfg
. I'd like to utilize all 4 channels. Here is the part I've had problems with in the code:For some reason
snd_pcm_open()
returns a negative value, meaning that it fails to make the connection, which I found out asASSERT(i < retries);
fails. That leads me to ask these questions:"PCH_input"
and"default"
, and why is"default"
used for 2 channels, and the other used for 4 channels?