Re: [Alsa-user] playing / recording mono on a stereo-only hardware
Brought to you by:
perex
|
From: Jaroslav K. <pe...@pe...> - 2010-01-30 19:09:03
|
On Sat, 30 Jan 2010, Guennadi Liakhovetski wrote: > On Sat, 30 Jan 2010, Giuliano Pochini wrote: > >> On Sat, 30 Jan 2010 16:59:48 +0100 (CET) >> Guennadi Liakhovetski <g.l...@gm...> wrote: >> >>> On Sat, 30 Jan 2010, Giuliano Pochini wrote: >>> >>>> On Fri, 29 Jan 2010 11:44:43 +0100 (CET) >>>> Guennadi Liakhovetski <g.l...@gm...> wrote: >>>> >>>>>> Try something simpler: >>>>>> >>>>>> arecord -v -Dplughw:0 -c1 -r44100 -fS16_LE out.wav >>>>>> >>>>>> It prints the given parameters and, if the format is not supported by the >>>>>> card, it also prints the choosen settings. In that case audio data is >>>>>> transparently converted to the format you requested. >>>>>> You shouldn't have to specify plughw: because it's the default. >>>>> >>>>> Unfortunately, didn't work: >>>> >>>> Did you try with "-Dplughw:0" ? >>> >>> Yes, I did, doesn't help. >> >> Does the driver uses rules to set hw params constraints ? If so, there may >> be an error there. If -for example- rule_format_given_channels() and >> rule_channels_given_format() are not perfectly symmetrical then the plughw >> plugin does not work. > > This is an ASoC driver (sound/soc), here's the code: I don't see any issues here. Post 'aplay -v -Dplughw:0' log. Jaroslav ----- Jaroslav Kysela <pe...@pe...> Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc. |