Bug 101034

Summary: Adjusting volume speeds up audio
Product: PulseAudio Reporter: freedesktop38 <rickard.gerthsson>
Component: coreAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: major    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Audio speed up, master volume fader, simplescreenrecorder
Playing audio using Clementine.

Description freedesktop38 2017-05-13 19:45:52 UTC
1. Start a YouTube video in Firefox 53.
2. Open pavucontrol and slide the output/master volume fader under the tab "Output Devices".
Result: No speed up of the audio or video

1. Start a YouTube video in Firefox 53.
2. Open pavucontrol and slide the volume fader of Firefox program under the "Playback" tab.
Result: Audio and video speed up and have glitches.

The same happens in Clementine and also if I use KDE's own audio configuration GUI under settings instead of pavucontrol.
Comment 1 freedesktop38 2017-05-13 19:52:33 UTC
Created attachment 131343 [details]
Audio speed up, master volume fader, simplescreenrecorder
Comment 2 freedesktop38 2017-05-13 19:53:51 UTC
Comment on attachment 131343 [details]
Audio speed up, master volume fader, simplescreenrecorder

Video of how the audio speed is affected when using master volume in KDE plasma during video capture using SimpleScreenRecorder.
Comment 3 freedesktop38 2017-05-13 19:56:25 UTC
Created attachment 131344 [details]
Playing audio using Clementine.
Comment 4 freedesktop38 2017-05-13 19:57:31 UTC
I am using default Pulseaudio settings except for resampling method which is soxr-vhq and output sample rate is 192000.
Comment 5 freedesktop38 2017-05-13 20:15:11 UTC
Using KDE Plasmas sound settings I found something strange. If the volume of the program is set to lower than 100% then the audio will speed up if I change the master volume. However, if the programs volume is 100% then no speed up occurs when the master volume is change.

This does however not happen using pavucontrol. Therefore I am very uncertain if this is a pulsaudio issue or a KDE issue. Hm...
Comment 6 freedesktop38 2017-05-13 20:25:48 UTC
When doing the same volume changes but ssing speex-float-1 instead of soxr-vhq the system does not speed up but instead make crackling noise. I wonder if this has anything to do with SoX having larger latency (correct?).

I will this is Ubuntu GNOME 17.04 and see if is a problem there too. Right now I have been using OpenMandrive Lx 3 x86_64.
Comment 7 freedesktop38 2017-05-13 20:41:42 UTC
I haven't tried Ubuntu GNOME yet but I am trying out another KDE distro and that is the KDE Neon Dev Stable distro and here I experience no speed up even using soxr-vhq. "Just" a little crackling when changing the programs volume fader both using pavucontrol and KDE's own volume settings.

It looks like it might be an OpenMandriva Lx 3 issue but I will now try Ubuntu GNOME 17.04 too.
Comment 8 freedesktop38 2017-05-13 20:49:28 UTC
I tried it in Ubuntu GNOME 17.04 now and it works great just as in KDE Neon. Only the crackling sound when changing the volume of the program, not the master volume, occurs here too.

I will post my findings in OpenMandrivas bug report system.
Comment 9 GitLab Migration User 2018-07-30 10:26:12 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/416.

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.