Bug 88266 - Single channel audio is really loud
Summary: Single channel audio is really loud
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-10 13:09 UTC by Yuxuan Shui
Modified: 2018-07-30 10:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Yuxuan Shui 2015-01-10 13:09:41 UTC
When playing single channel audios, the resulting sound is way louder than playing dual channel audio with same volume settings.

If I convert the audio to dual channel before sending to pulseaudio, the result is normal.

If I create a channel map to map the channel to front left or front right, although this result in sound only play on one side (as expected), but the volume is correct.
Comment 1 Yuxuan Shui 2015-01-10 13:10:32 UTC
What I said previously is wrong, even if I map the channel to front left/right, the result sound is still very very loud.
Comment 2 Yuxuan Shui 2015-01-10 14:54:40 UTC
I did some extra tests:

1) This bug only occurs when volume != 100%

So if I set volume to 100% (0.00 dB), everything's fine. If I turn the volume slightly lower or higher, the sound will get extremely loud. If I turn the volume all the way down to ~3% (~-100 dB), the sound will become acceptable again.

2) This bug doesn't happen with float point sample format.

I tested mpd (which uses s16le), and opera/chromium (s16le). All of them have this problem. But firefox (float32le) is fine.
Comment 3 Yuxuan Shui 2015-01-10 15:37:29 UTC
OK, I downgraded my orc from 0.4.23 to 0.4.22, which solves the problem.

Guess I'll have to report this to orc then.
Comment 5 Arun Raghavan 2015-01-12 08:24:33 UTC
Does this patch fix the problem for you?

http://lists.freedesktop.org/archives/pulseaudio-discuss/2015-January/022905.html
Comment 6 Yuxuan Shui 2015-01-13 07:59:48 UTC
(In reply to Arun Raghavan from comment #5)
> Does this patch fix the problem for you?
> 
> http://lists.freedesktop.org/archives/pulseaudio-discuss/2015-January/022905.
> html

Yes, thanks
Comment 7 GitLab Migration User 2018-07-30 10:23:58 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/395.


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.