[alsa-devel] channel map for intel8x0
Raymond Yau
superquad.vortex2 at gmail.com
Mon Nov 4 13:52:38 CET 2013
>
> > Refer to patch ALSA: Implement channel maps for standard onboard AC97
> > drivers
> >
> > e36e3b86c78cee9c7435eb33e0ef8a788193e812<
> https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/intel8x0.c?id=e36e3b86c78cee9c7435eb33e0ef8a788193e812
> >
> >
> > It seem that channal map is not working when testing with
> > alsa-lib/test/chmap.c with the emulated intel8x0 inside virtualbox
>
> What doesn't work actually? The lack of chmap for the capture?
> Please give a bit more explanations about your problem.
>
>
/alsa-lib/test$ ./chmap -Dhw:0,0 query
Cannot query maps
>
> - if (rec->ac97_idx == ICHD_PCMOUT && rec->playback_ops)
> +if (device == 0 && rec->playback_ops) {
>
after change the above line
/alsa-lib/test$ ./chmap -Dhw:0,0 query
Type = FIXED, Channels = 2
FL FR
is there any option to test the channel map of the capture device ?
./chmap
usage: chmap [options] query
chmap [options] get
chmap [options] set CH0 CH1 CH2...
options:
-D device Specify PCM device to handle
-f format PCM format
-c channels Channels
-r rate Sample rate
More information about the Alsa-devel
mailing list