Seefin / lightweight-theology

Music player app
0 stars 0 forks source link

Stop button functionality #1

Closed Seefin closed 9 years ago

Seefin commented 9 years ago

This should stop playback, and reset all streams and datalines to the beginning. But it doesn't. I need to investigate:

Seefin commented 9 years ago

Mark and reset seems to not work... I may need to temporarily disable the pause functionality and see if that helps. I think the mark and reset method is failing because the marking is happening outside of the runnable thread to mark the beginning of the stream, and the reset is not picking up that mark. At one point, it replayed the last few seconds of audio, before I changed the readtime in the mark() to be MAX_INT