Re: Where is /usr/share/alsa/cards/?

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

 



At Sat, 18 Nov 2006 22:07:37 +0100,
Nicolas Boullis wrote:
> 
> Hi,
> 
> I'm working on a driver for some hardware MPEG decompression boards, 
> with an ALSA driver for the audio part of the chip. For a good support 
> with most applications, I need a special configuration for this driver, 
> that would be in /usr/share/alsa/cards/EM8300.conf.
> 
> Unfortunately, this location varies with the distros. I heard that it 
> was somewhere in /etc for RedHat and Fedora. Moreover, alsa-lib maight 
> be installed by some user in their home directory.
> 
> That's why I'd like to know if there is some programmatic way to find 
> out where I should install my configuration. Any idea?

I don't think there is no proper way to detect the path.

> If there is none, I guess I could default to installing in 
> /usr/share/alsa/cards and let the user specify another location through 
> my ./configure script if needed.

That would be a suitable option.

In addition, you can add an automatic search of the path
(i.e. checking /usr/share/alsa/alsa.conf, /etc/alsa/alsa.conf, ...)
in configure script.


Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/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