Strange - $CARD really won't work on my setup - it fails to create an a52 device. Can anyone else get it working? On Lucid? I tried it in ~/.asoundrc, /etc/asound.conf and /usr/share/alsa/alsa.conf and no luck. Cheers, Mike ________________________________ From: pl bossart <bossart.nospam@xxxxxxxxx> To: General PulseAudio Discussion <pulseaudio-discuss at mail.0pointer.de> Sent: Tue, 13 July, 2010 21:21:50 Subject: Re: {PATCH][RFC] AC3 passthrough support Adding this in /etc/asound.rc (more exactly /etc/alsa/pulse-default.conf on my Fedora box) work fine: pcm.a52 { @args [CARD] @args.CARD { type string } type rate slave { pcm { type a52 bitrate 448 channels 6 card $CARD } rate 48000 #required somehow, otherwise nothing happens in PulseAudio } } a52:0 is detected by PulseAudio and the encoded output shows as 'Digital Surround 5.1 (IEC958/AC3) in pavucontrol. I just finished testing all the changes I posted yesterday. Works flawlessly, I can switch from 2ch PCM over SPDIF to 5.1 still over SPDIF but re-encoded with a52, and unlike the passthrough case I can mix the multichannel content with alerts or system tones. The only bug I found is that if I change the individual volume on one of the channels, there's a ringing noise introduced, and it does not go away unless I kill the stream. Will prepare a set of patches, Colin it'd be great if you can merge them in git master. -Pierre _______________________________________________ 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/3102cc4d/attachment.htm>