After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 480764 - Crossfading backend sometimes plays two tracks at once
Crossfading backend sometimes plays two tracks at once
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: playback
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-09-26 21:14 UTC by Sven Arvidsson
Modified: 2008-11-07 04:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
seems to fix it (568 bytes, patch)
2007-11-08 14:15 UTC, Jonathan Matthew
committed Details | Review

Description Sven Arvidsson 2007-09-26 21:14:19 UTC
It is sometimes possible to end up playing two tracks simultaneously when using the crossfading backend. I'm not sure how to reproduce it, but it does happen with some regularity.

When it happens, the play button still works, the first click will pause one of the tracks, a second click will pause the other track, and a third click will resume playback of both tracks.

It seems to have something to do with doing quick track changes, at the end of a track, while the crossfading effect takes place. But that's just a guess.

I'm using a crossfade duration of five seconds, no crossfade of songs in the same album.
Comment 1 Sven Arvidsson 2007-09-27 19:36:32 UTC
It's actually not that hard to reproduce:

* Increase the crossfade duration to ten seconds. Do not use crossfade between songs in the same album.
* Select an artist and an album.
* Start playing a song in the middle of an album.
* Wait for the end.
* During the last ten seconds of the track, double click on another artist.

At least some of the time, you will end up playing both the artist you double clicked on, and the next song in line from the artist you first selected.

The behaviour of the play button described in my initial report only happen sometimes though. Most of the time the play button does not seem to respond.
Comment 2 Alec Wright 2007-10-15 19:20:33 UTC
Confirmed in rhythmbox 0.11.2 in ubuntu gutsy.
Comment 3 Jonathan Matthew 2007-11-08 14:15:23 UTC
Created attachment 98772 [details] [review]
seems to fix it
Comment 4 Sven Arvidsson 2007-11-08 23:09:29 UTC
I can still reproduce it with the patch applied to r5436. (I also applied the patch in 452226 if it matters).
Comment 5 Sven Arvidsson 2007-11-09 15:15:55 UTC
Hmm, I don't know if I messed up when I applied the patch the last time, or if something changed, but with the combined patch from bug 452226, this really seems to be fixed.
Comment 6 Jonathan Matthew 2007-11-10 11:30:17 UTC
Thanks for confirming that.  I've committed the patch.
Comment 7 bi2h5da02 2008-11-07 04:17:50 UTC
Still a problem in Ubuntu Intrepid