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

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to