Stefan Sauer wrote:
> I am working with an I2S based hat for the raspberry pi.
> Due to the protocol the chip always plays/record stereo. Now I'd like to
> configure alsa in a way to just simply duplicate channels when playing a
> mono file.

This happens automatically when you're using the "plughw" or "default"
devices.

> The main issue is that I still can't play mono files.
>
> Playing WAVE '/tmp/tmpel6bu774.wav' : Signed 16 bit Little Endian, Rate 22050 
> Hz, Mono
> aplay: set_params:1297: Unable to install hw params:

How did you invoke aplay?

> how would I configure separate ttables depening on the number of input 
> channels.

This is not possible.

> what does cchannel stands for?

"c" stands for some word that is not "slave".

> ctl.!default {
>   type plug

This is not possible for ctl devices.


Regards,
Clemens

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to