[alsa-devel] Problems with ALC882

Christophe Osuna christophe.osuna at gmail.com
Wed Jan 23 14:53:00 CET 2008


(sorry for the delay)

2008/1/21, Takashi Iwai <tiwai at suse.de>:
> At Mon, 21 Jan 2008 12:27:18 +0100,
> Christophe Osuna wrote:
> > Now I need to check that I can open
> > the three at the same time but I am rather confident on this.
>
> Thanks.  Please let me know if it works.  Then I'll apply the patch to
> HG tree.

I have tested with three alsarecord reading from hw:0,0,0 hw:0,2,0 and
hw:0,2,1 and piping into aplay (on dmix) and it worked fine.

I think the patch can make its way to the HG tree.


> > Could you also tell me where I have to change code in order to force
> > the 8 kHz sampling rate? I will try to add an ugly change to
> > snd_hda_query_supported_pcm() but I am not sure on whether this is the
> > right place.
>
> You can override the info->streams[SNDRV_PCM_STREAM_CAPTURE].rates in
> alc_build_pcms().  It's zero as default, which means to probe the
> value from the codec.

I have tried to set info->streams[SNDDRV_PCM_STREAM_CAPTURE].rates to
SNDRV_PCM_RATE_8000 (and the same thing for playback) but "arecord |
aplay" at 8 kHz gave strange results. Well, I will try to investigate
more.


More information about the Alsa-devel mailing list