Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

faulty settings of count of capture-channels (=8) in raspberrypi/linux/sound/soc/bcm/audioinjector-octo-soundcard.c #50

Open
F-Haferkorn opened this issue Oct 14, 2021 · 1 comment

Comments

@F-Haferkorn
Copy link

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?

@flatmax
Copy link
Contributor

flatmax commented Oct 20, 2021

this issue is discussed on this thread :
https://lists.audioinjector.net/pipermail/people/2021-October/000353.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants