All of lore.kernel.org
 help / color / mirror / Atom feed
* Q:codec based config file?
@ 2005-03-02 22:40 "Tien,  C.L. - 田承禮"
  2005-03-07 13:41 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: "Tien,  C.L. - 田承禮" @ 2005-03-02 22:40 UTC (permalink / raw)
  To: alsa-devel

Hi,

There are chip-based config file in /usr/share/alsa/cards, but they are based on driver name.
For example all USB audio will need to search USB-Audio.conf, while AC97 codec with ICH4
will need to search ICH4.conf.

Since more and more codecs (USB, AC97 and HDA) can appear on the same bus, can this be changed
to support config file based on the codec id? There are many codecs with different
capabilities that may needs separate config files.

Sincerely,
ChenLi Tien


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Q:codec based config file?
  2005-03-02 22:40 Q:codec based config file? "Tien,  C.L. - 田承禮"
@ 2005-03-07 13:41 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2005-03-07 13:41 UTC (permalink / raw)
  To: cltien; +Cc: alsa-devel

At Thu, 3 Mar 2005 06:40:22 +0800,
Tien, C.L. wrote:
> 
> Hi,
> 
> There are chip-based config file in /usr/share/alsa/cards, but they are based on driver name.
> For example all USB audio will need to search USB-Audio.conf, while AC97 codec with ICH4
> will need to search ICH4.conf.
> 
> Since more and more codecs (USB, AC97 and HDA) can appear on the same bus, can this be changed
> to support config file based on the codec id? There are many codecs with different
> capabilities that may needs separate config files.

Yes, that's a problem right now.

The usb, ac97 and hda-codec drivers already add an ID string to
card_info.components list so that user-space lib/app can look at it.
So, we'll need just a few hook up in alsa-lib to look up the ID and
checks the preferred device/codec-specific config in prior to the card
(driver name) config.

I thought I'll work on this issue after 1.0.9 release, but of course,
pathes are always welcome ;)


Takashi


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-07 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02 22:40 Q:codec based config file? "Tien,  C.L. - 田承禮"
2005-03-07 13:41 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.