Bug 63759 - LFE remixing is spuriously on after a stream output change
Summary: LFE remixing is spuriously on after a stream output change
Status: RESOLVED FIXED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords: love
Depends on:
Blocks:
 
Reported: 2013-04-20 20:56 UTC by Héctor Martín
Modified: 2014-05-23 12:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Héctor Martín 2013-04-20 20:56:33 UTC
PulseAudio 3.0 on Gentoo Linux.

After the output for a given stream is toggled, LFE remixing is always on, regardless of the value of the disable-lfe-remixing config file option.

Steps to reproduce:

1)
daemon.conf:
enable-remixing = yes
disable-lfe-remixing = yes
default-sample-channels = 6

2) Have at least two outputs: one 5.1ch with LFE and one 2.0ch without. (note: in my case, the 5.1ch output is a remote PulseAudio server via tunnel, while the 2.0ch output is a local sound card. This probably doesn't matter).

3) play something with low-frequency content, such as (using SoX):
$ play -c 2 -n synth sine 60
This should default to the 5.1ch output (if it doesn't, toggle it, then restart the command and make sure it picked it by default)

4) unlock the channels on the 5.1ch output and move the subwoofer slider. Observe that there is no change in the output volume (in my case, the 60Hz plays through the other outputs, and is crossed over to the subwoofer by the speakers themselves, not PA)

5) toggle the stream to the 2.0ch output

6) toggle the stream back to the 5.1ch output. In my case, the tone now sounds ~10dB louder (because my LFE output is mixed in at +10dB, as is the standard)

7) move the subwoofer slider again. Observe that the output varies from the correct level (when the subwoofer output is muted) to ~+10dB, when it is at 100%, so the audio is being incorrectly remixed to the LFE channel.
Comment 1 Tanu Kaskinen 2013-04-22 09:54:36 UTC
It sounds like fixing this would probably be easy, so I'll add the "love" keyword to make this bug appear in the easy bugs list.
Comment 2 Alexander E. Patrakov 2014-05-09 18:39:15 UTC
I believe this is already fixed with the following commit:

http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=732348c9d9d97b0820caca0c7aad67a2fd83c8dd

Could you please build PulseAudio from git and recheck?
Comment 3 Héctor Martín 2014-05-09 19:35:34 UTC
I won't be able to test this for ~1 month (I don't currently have access to enough hardware to reproduce it - it's being transported). If anyone else can confirm that the commit fixes the issue, or if you're confident enough that it does, feel free to close.
Comment 4 Tanu Kaskinen 2014-05-23 12:55:06 UTC
I'm closing this, feel free to reopen if the issue is not gone.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.