[alsa-devel] /usr/share/alsa/alsa.conf :and file extention

Rene Herman rene.herman at keyaccess.nl
Mon Mar 17 13:31:08 CET 2008


On 17-03-08 04:35, Alexander Indenbaum wrote:

> On Mon, Mar 17, 2008 at 5:18 AM, Rene Herman <rene.herman at keyaccess.nl 

>     Don't do it there. Use /etc/asound.conf or $HOME/.asoundrc ...
> 
> 
> Generally I'd agree with you that $HOME/.asoundrc is way to go if it was 
> my desktop workstation. But this is an embedded system, so I'd like to 
> force it on system level.

As I said, use /etc/asound.conf

> Still it does not  work ( I still use system alsa.conf though ).

That's the reason.

> You touching here an interesting point. How  indeed I could get an PCM 
> header?

You don't really need one if you know the format. Ie, with aplay (and 
foo.wav being CD format):

aplay foo.wav
aplay -D hw:0 -f cd /tmp/pcm.out

Rene.


More information about the Alsa-devel mailing list