I'm successfully rendering audio with alsa, however I'm completely incapable of determining the channel mapping. As various sources have stated, I'm calling snd_pcm_get_chmap
after the hw & sw params are set and the device is prepared.
snd_config_get_string
returns 'pulse' for this device which I'm presuming means it's an alsa/pulseaudio bridge for want of a better term.
Calling snd_strerror(errno)
after snd_pcm_get_chmap
fails is returning 'Socket operation on non-socket'. I should probably add that I'm debugging remotely from Visual Studio 2017 as that may be related.
I'd really like to be able to get the channel mapping. Any suggestions appreciated.