# 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? Cheers, Mike ________________________________ From: pl bossart <bossart.nospam@xxxxxxxxx> To: General PulseAudio Discussion <pulseaudio-discuss at mail.0pointer.de> Sent: Mon, 12 July, 2010 23:14:06 Subject: Re: {PATCH][RFC] AC3 passthrough support > This may be an obvious question, but what is the > @args.0 { > type integer > } > for? > > Is that what you meant by "Adding the argument removes the need to exit the > profile." and if you did, I didn't understand at what point I had to exit > the profile. Can you explain? Sorry if I'm being stupid. Oops, this is a typo. 'edit' the profile I meant, not exit You can keep a52:0 in the profile definition, no need to change pulseaudio configuration files. _______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss at mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20100713/7df84699/attachment.htm>