AC97 slot information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When opening an AC'97 codec under ALSA using snd_ac97_pcm_open(),
specifying the number of channels desired (2, 4 or 6) is there a
way to read back which slots will be in use?

Currently, in the AACI driver, I use a lookup table to convert from
channels to a slot mask - if this information is already available
from ALSA, I'd much rather use it rather than inventing keeping my
own solution.

Also, should the 'slots' value passed to snd_ac97_pcm_open() be
those in pcm->r[].slots or should it be selected from the number
of channels?
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux