When I play song in Amarok, I have fade out enabled. At the end of the fade out effect, glitch with increased volume appears for fraction of second. It doesn't happen on Stop, only on Pause. Amarok 2.8.0 phonon-gstreamer 4.6.3 Gstreamer 0.10.36 (or 1.0.5-r1, I have both installed) Reproducible: Always Steps to Reproduce: 1. Play some music 2. Pause it 3. Hear increased volume at the end of fade out Expected Results: Glitch shouldn't appear. Sound should fade out to silence.
I can't reproduce this here at all, what type of tracks are these? Is this only on one single track or on all tracks regardless of the type? Just to make sure: do you have ReplayGain active? Please disable it as it could falsify the results.
I think I've also hit this in past and I may have a clue what we do wrong in the code. I'll look at this as time permits (not really soon unfortunately).
@Vit: Does it issue happen always for you, or just sometimes? And did you change the default fade-out duration?
It happens to me always and I use just default fade out.
Created attachment 82033 [details] Possible fix for fade-out glitch
Please try with the attached patch.
Unfortunatelly, I didn't spot the difference. :-(
Confirming because of multiple reports from users. Unfortunately I still can't reproduce the issue here, though.
Git commit 69f0e02aa3519d2b28cddbbb6d6535786823a4aa by Mark Kretschmann. Committed on 13/11/2013 at 05:43. Pushed by markey into branch 'master'. Fix sound glitch with "fade-out on pause" with GStreamer. This is really just an ugly workaround for an issue with (Phonon-)GStreamer. Essentially there is no way to flush the audio buffers, so that implementing fade-out in combination with pausing becomes a bit of a gamble. Please test, as I cannot reproduce the sound glitch on my system! FIXED-IN: 2.8.1 BACKPORT M +1 -0 ChangeLog M +1 -1 src/EngineController.cpp http://commits.kde.org/amarok/69f0e02aa3519d2b28cddbbb6d6535786823a4aa