albertz / music-player

Music player - endlessly plays your music
http://albertz.github.io/music-player/
BSD 2-Clause "Simplified" License
492 stars 59 forks source link

song drag #46

Closed christophmluscher closed 10 years ago

christophmluscher commented 10 years ago

if the playlist is filled with lots of songs and a song is dragged within the playlist. the song playing freezes. if the dragged song is released the music playing continues

this is the error at that moment:

new song: Lady GaGa - Paparazzi, 03:29, mp3, 62.6 kbit/s, 1.6 MB
Cocoa GuiObjectView: control is wrong type
readOutStream: we have 1212 too less samples available (requested 1862)
readOutStream: we have 1862 too less samples available (requested 1862)
albertz commented 10 years ago

Is this with the latest binary? Or compiled from source?

Of course, the playing should never freeze. Also, that Cocoa GuiObjectView: control is wrong type error is strange.

Is that reproducible easily? If so, can you try with some older versions whether the same problem occurs? http://sourceforge.net/projects/az-music-player/files/ (anything >=2014)

christophmluscher commented 10 years ago

it was with the binary from 31.01. the last version where I cannot reproduce the error is:

MusicPlayer-MacApp-20140123-1-4e8b41f.zip

the song time also freezes. so it seems as if the data is not loaded anymore..

albertz commented 10 years ago

Btw., does the playing freeze immediately? Or maybe after around 10 seconds? (The decoder buffers the next 10 seconds (in case you use 48kHz).)

christophmluscher commented 10 years ago

no. it takes about 10seconds to freeze. 48kHz should be correct.

albertz commented 10 years ago

Should be fixed (in commit 3f79ebf). I uploaded a new binary. Can you try?

christophmluscher commented 10 years ago

fixed. i can't replicate the error.