faulty settings of count of capture-channels (=8) in raspberrypi/linux/sound/soc/bcm/audioinjector-octo-soundcard.c
Opened this issue · 1 comments
I go the audioinjector octo running using a RaspianOS (full) Linux image.
I am able to acces the capture and the playback devices.
It is possible to access it via pulseaudio (v12.2)
In udev-detect the capture device has 8 channels (should be 6 following the spec.)
I am not fully sure, but if you look at in github.com
raspberrypi/linux/sound/soc/bcm/audioinjector-octo-soundcard.c
static int audioinjector_octo_startup(struct snd_pcm_substream *substream)
{
struct snd_soc_pcm_runtime *rtd = substream->private_data;
asoc_rtd_to_cpu(rtd, 0)->driver->playback.channels_min = 8;
asoc_rtd_to_cpu(rtd, 0)->driver->playback.channels_max = 8;
asoc_rtd_to_cpu(rtd, 0)->driver->capture.channels_min = 8;
asoc_rtd_to_cpu(rtd, 0)->driver->capture.channels_max = 8;
asoc_rtd_to_codec(rtd, 0)->driver->capture.channels_max = 8;
in driver->capture.channels both min and max should be 6
Is this a bug?
this issue is discussed on this thread :
https://lists.audioinjector.net/pipermail/people/2021-October/000353.html