[pulseaudio-discuss] {PATCH][RFC] AC3 passthrough support
Colin Guthrie
gmane at colin.guthr.ie
Tue Jul 13 12:37:39 PDT 2010
'Twas brillig, and Michael Rans at 13/07/10 19:53 did gyre and gimble:
> # Encode AC3 -> Directly on hardware
> # with Rate Converter to 48kHz, needed for some applications
> pcm.a52 {
> @args [ CARD ]
> @args.CARD {
> type integer
> }
> type rate
> slave {
> pcm {
> type a52
> bitrate 448
> channels 6
> card $CARD
> }
> rate 48000
> }
> }
>
> If I replace $CARD with 0 (manually), the above works - does anyone know
> why it doesn't work when I leave the $CARD there - shouldn't it get it
> from Pulseaudio when udev tries a52:0 ? Or is this not the correct way
> to do it?
Maybe I'm wrong with that syntax....
Does this work?
pcm.a52 {
@args.0 {
type integer
}
type rate
slave {
pcm {
type a52
bitrate 448
channels 6
card $0
}
rate 48000
}
}
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]
More information about the pulseaudio-discuss
mailing list