Chuck Harrison wrote:
> Contrary to what you expect, /dev/snd/controlC0 *does* get opened
> before alsa.conf gets stat'ed or opened.

This is actually OK, that device file is also used to make sure that
the sound card driver is loaded, and this happens before the control
device is opened.

> I added a simple alsa.conf file
> 
> pcm.card0 {
>     type hw
>     card 0
> }
> ctl.card0 {
>     type hw
>     card 0
> }

This is not a valid alsa.conf file.  Use the one from alsa-lib, i.e.,
make sure that this one and the other config files are installed
correctly.

> I have tried to find my way through the conf.c and related source
> code but it is pretty slow going for me. I wonder if anyone has
> written an overview of what it is doing.

There is _some_ documentation; read the four links at the bottom of
<http://www.alsa-project.org/alsa-doc/alsa-lib/>.


HTH
Clemens

-------------------------------------------------------------------------
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-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to