Bug 233089 - After starting Amarok, the first two seconds of the first song have louder sound volume
Summary: After starting Amarok, the first two seconds of the first song have louder so...
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Playback/Replay Gain (show other bugs)
Version: 2.4-GIT
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-02 18:18 UTC by ernst.blaauw
Modified: 2014-03-12 11:50 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ernst.blaauw 2010-04-02 18:18:30 UTC
Version:           2.3.0 (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

If I start Amarok and I start playing a song, the first two seconds of this first played song has louder volume than the rest of the song/than other songs. If I restart the song, the whole song has the (correct) equal volume.
This problem does not appear in other audio players (Exaile, foobar (wine)).

I'm running Ubuntu Lucid 64-bit. I have pulseaudio installed.
Comment 1 Sven Krohlas 2010-04-04 12:40:29 UTC
I also heard that too with the Xine engine.

Maybe this is ReplayGain related? Does it work as expected when ReplayGain is off?
Comment 2 ernst.blaauw 2010-04-06 07:51:33 UTC
If I turn off ReplayGain, no differences in volume appear after two seconds. (In other words, the behavior is back to normal.)
Comment 3 karaluh 2010-06-26 21:08:53 UTC
I confirm this behavior
Comment 4 Thorsten Mühlfelder 2010-07-15 22:21:19 UTC
Seems replay gain volume change is to slow at startup.
Comment 5 Samuel Brack 2010-12-08 13:25:37 UTC
I couldn't reproduce that in 2.4-GIT, so the bug seems to be fixed now. I tested the issue several times with the three possible settings of "Replay Gain" and couldn't hear any difference.
Comment 6 Myriam Schweingruber 2010-12-08 13:36:02 UTC
Closing then, thanks for testing.

Please all, try Amarok 2.4 beta, released 2 days ago.
Comment 7 karl.r.ernst 2012-03-19 15:42:32 UTC
Exact same thing happens for me in Amarok 2.5 using the vlc-0.5 backend.

Should I open a new bug?
Comment 8 Myriam Schweingruber 2012-03-19 19:39:40 UTC
Yes, please, as this is not necessarily the same problem.
Please test with the gstreamer backend as well to exclude the backend as a problem. If you can't reproduce this with the gstreamer backend then you should file the bug against the Phonon-backend-vlc, not against Amarok.
Comment 9 e2081391 2014-03-11 19:37:27 UTC
Still happens in 2.8.0
Probably only on slow systems that are under load. This can be very annoying with significant differences in loudness. Volume adjustment needs to be completed before decoding starts. It seems Amarok needs a check to avoid this race condition.
Comment 10 Myriam Schweingruber 2014-03-12 09:29:18 UTC
Please open a new report, as the code is too far away from 2.5 Also please specify if this this also happen with ReplayGain set by track or by album or both, and of course the phonon backend and version you use.
Comment 11 karaluh 2014-03-12 11:02:46 UTC
Might be dupe of https://bugs.kde.org/show_bug.cgi?id=299461
Comment 12 Myriam Schweingruber 2014-03-12 11:50:53 UTC
Well spotted, indeed, please continue there with the needed information.