Update 2010-10-14 – This problem has been resolved since pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14. You can now play AC3 audio with the Lucid packages.
Since upgrading my media PC to Ubuntu 10.04 “Lucid Lynx”, pulseaudio can’t play files with AC3 audio. Unfortunately this includes all of my ripped DVDs, which were encoded with AC3 pass-through audio. If I play such a file in Miro, the video hangs after a few seconds. If I play it in Totem, the same happens but a pop-up is also displayed: “pa_stream_writable_size() failed: Connection terminated”.
I fixed it by downgrading Pulseaudio to the karmic version. Here is how.