[pulseaudio-discuss] {PATCH][RFC] AC3 passthrough support

Michael Rans mcarans at yahoo.co.uk
Mon Jul 12 14:37:28 PDT 2010


You're welcome.

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.

Cheers,
Mike


________________________________
From: pl bossart <bossart.nospam at gmail.com>
To: General PulseAudio Discussion <pulseaudio-discuss at mail.0pointer.de>
Sent: Mon, 12 July, 2010 22:29:18
Subject: Re: [pulseaudio-discuss] {PATCH][RFC] AC3 passthrough support

> Even with this fix, the sink doesn't seem to do anything:

Actually discard this comment, it looks like it's crunching data if
you specify the rate in asound.conf.

# Encode AC3 -> Directly on hardware
pcm.Filter_A52Encode {
    type a52
    bitrate 448
    channels 6
}

# Rate Converter to 48kHz, needed for some applications
pcm.a52 {
    @args.0 {
    type integer
    }
    type rate
    slave {
        pcm "Filter_A52Encode"
        rate 48000
    }
}

Adding the argument removes the need to exit the profile.
It's really odd that the rate plugin is required even though
everything is already configured at 48kHz.
I will test tomorrow and if this is fine then I'll prepare a patch for
upstream. Thanks for doing the groundwork for this bug.
_______________________________________________
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/20100712/703c7dc0/attachment.htm>


More information about the pulseaudio-discuss mailing list