Multiple songs playing simultaneously

Jayesh Badwaik jayesh.badwaik90 at gmail.com
Fri Dec 28 14:55:20 UTC 2012


Hi,

I am not a KDE Developer and do not have much knowledge about Amarok code,
but I am reading the source code now since two days, and trying to
understand it. so, please forgive me if the following is not correct.

I cannot reproduce this bug, but I remember it happened exactly **once** on
Amarok in ArchLinux some four days ago. Since then, it hasn't happened
again. It seemed as if amarok orphaned the sound playing system and then
generated another instance to play the next song. Also, I let it play,
since I had read this bug, and I noticed that while the second track was
completely synced according to the display and then the playback was normal
w.r.t to it, the first track kept looping. I could not stop it even by
quitting and stopping amarok. I killed and restarted pulseaudio, but I
think the problem might be between pulseaudio and amarok.

When I encountered this problem, I was reminded of another problem that I
am still facing[0]. And it seems to me as if there must be something
problematic in the code which handles switching of tracks which might be
related. May be in the above case, a resourced was allocated twice and may
be in the [0] case, the resource allocation fails?  The problem being a
random problem suggests there must be a race condition somewhere.

And yes, the problem started occuring since Amarok 2.5 and KDE 4.8. If
Debian is backporting bug patches from KDE 4.8 or Amarok 2.5 currently,
then this might seem to be related.

-- 
Regards
Jayesh
[0] https://bugs.kde.org/show_bug.cgi?id=296100
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok/attachments/20121228/9e09a200/attachment.html>


More information about the Amarok mailing list