<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">Strange - $CARD really won't work on my setup - it fails to create an a52 device. Can anyone else get it working? On Lucid?<br><br>I tried it in ~/.asoundrc, /etc/asound.conf and /usr/share/alsa/alsa.conf and no luck.<br><br>Cheers,<br>Mike<br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> pl bossart <bossart.nospam@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> General PulseAudio Discussion <pulseaudio-discuss@mail.0pointer.de><br><b><span style="font-weight: bold;">Sent:</span></b> Tue, 13 July, 2010 21:21:50<br><b><span style="font-weight: bold;">Subject:</span></b> Re:
[pulseaudio-discuss] {PATCH][RFC] AC3 passthrough support<br></font><br>Adding this in /etc/asound.rc (more exactly<br>/etc/alsa/pulse-default.conf on my Fedora box) work fine:<br><br>pcm.a52 {<br> @args [CARD]<br> @args.CARD {<br> type string<br> }<br> type rate<br> slave {<br> pcm {<br> type a52<br> bitrate 448<br> channels 6<br> card $CARD<br> }<br> rate 48000 #required somehow, otherwise nothing happens in PulseAudio<br> }<br>}<br><br>a52:0 is detected by PulseAudio and the encoded output shows as<br>'Digital Surround 5.1 (IEC958/AC3) in pavucontrol.<br><br>I just finished testing all the changes I posted yesterday. Works<br>flawlessly, I can switch from 2ch PCM over SPDIF to 5.1 still
over<br>SPDIF but re-encoded with a52, and unlike the passthrough case I can<br>mix the multichannel content with alerts or system tones.<br>The only bug I found is that if I change the individual volume on one<br>of the channels, there's a ringing noise introduced, and it does not<br>go away unless I kill the stream.<br><br>Will prepare a set of patches, Colin it'd be great if you can merge<br>them in git master.<br>-Pierre<br>_______________________________________________<br>pulseaudio-discuss mailing list<br><a ymailto="mailto:pulseaudio-discuss@mail.0pointer.de" href="mailto:pulseaudio-discuss@mail.0pointer.de">pulseaudio-discuss@mail.0pointer.de</a><br><a href="https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss" target="_blank">https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss</a><br></div></div>
</div><br>
</body></html>