Re: Fix problem with EAC3 audio

Chris Rankin <[email protected]> Tue, 21 Aug 2012 14:45:57 -0700 (PDT)
Newsgroups gmane.comp.video.xine.devel
Message-ID <[email protected]>
Hi,

I've managed to get xine to switch ALSA devices without increasing the "open" timeout in audio_out_alsa.c. Basically, the problem
was that my "default" ALSA device was PulseAudio, which meant that I needed a PulseAudio 5.1 device too:

pcm.51to21 {
        type route
        slave {
                pcm "plug:pulse"
                channels 3
        }

        ttable.0.0 0.58  # These values probably all need tweaking...
        ttable.1.1 0.58
        ttable.2.0 0.58
        ttable.3.1 0.58

        ttable.4.0 0.57
        ttable.4.1 0.57

        ttable.5.2 1
}

And finally, in .xine/config:

audio.device.alsa_front_device:default
audio.device.alsa_surround51_device:51to21

So patching xineplug_decode_ff.so to reopen the audio device seems OK to me.

Cheers,
Chris

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/