GNOME Bugzilla – Bug 480764
Crossfading backend sometimes plays two tracks at once
Last modified: 2008-11-07 04:17:50 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.
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.
Confirmed in rhythmbox 0.11.2 in ubuntu gutsy.
Created attachment 98772 [details] [review] seems to fix it
I can still reproduce it with the patch applied to r5436. (I also applied the patch in 452226 if it matters).
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.
Thanks for confirming that. I've committed the patch.
Still a problem in Ubuntu Intrepid