Re: The sense or non-sense of the device listing API (was: Status of ALSA "simple" mixer interface])

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

 



On Sun, 25 Nov 2007, Lennart Poettering wrote:

> On Wed, 21.11.07 16:23, Clemens Ladisch (cladisch@xxxxxxxxxxxx) wrote:
> 
> > Takashi Iwai wrote:
> > > Lennart Poettering wrote:
> > > > aplay -L suggest to use "surround71:" (and *only* that) as plugin for my
> > > > usb webcam that only has a single mono channel.  What's going wrong?
> > > > Any idea where I should be looking?
> > > 
> > > Since it's a USB device, maybe Clemens has a better clue...
> > 
> > USB-Audio.conf defines all the surround devices because there are some
> > devices that actually use them.  I could understand if "aplay -L" shows
> > all the default device names _including_ surround71.
> > 
> > I'm not sure how the device name list gets constructed; AFAICT the card-
> > specific .conf files are not supposed to define hints.
> 
> Hmm, that would would be a serious limitation.

Card specific files can give information to device name hint functions. 
Unfortunately, all USB cards have only one configuration file which is too 
much generic (basically all PCM devices are described there even if they 
do not exist in hardware). I think we need to extend our configuration 
files here.

Also if only surround71 device is available, it appears like a bug in the 
device name hint function. Anyway, users can create own device name hints,
so the result of device name hint function can be forced until a right 
behaviour is not implemented by default.

						Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project
_______________________________________________
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