[Pkg-alsa-devel] Bug#518384: a52_pulse example

Carsten Luedtke acid_man at gmx.net
Sat Mar 21 16:12:36 UTC 2009


Hi

I'm sorry to inform you that my little example may break on systems with
more than 1 card. I have discussed this with Lennart and he came up with
a better working solution. Not as small as the previous one, but it is
safe IMHO.

Here the new solution

#####
# Description: This will make it possible to use a52 with PulseAudio out of 
#	       the box. It may be useful for other use cases. Just include 
#	       this in your ~/.asoundrc .

pcm.a52 {
    @args [ CARD ]
    @args.CARD {
               type string
               default 0
    }
    type plug
    slave {
           pcm {
               type a52
               card $CARD
           }
    }
}

# Usage: aplay -D a52:0 /foo.wav
#####

Sorry for the first try, i didn't want to double your work on this.

Thanks
Carsten Lüdtke
--
BOFH excuse is: tachyon emissions overloading the system
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20090321/2d4ea9ab/attachment.pgp 


More information about the Pkg-alsa-devel mailing list