muhku / FreeStreamer

A low-memory footprint streaming audio player for iOS and OS X
http://muhku.github.io/FreeStreamer/
Other
2.11k stars 434 forks source link

Why set !(currentState == PLAYING || currentState == END_OF_FILE) return #429

Open chujiandaochuxia opened 5 years ago

chujiandaochuxia commented 5 years ago

if (!(currentState == PLAYING || currentState == END_OF_FILE)) { // Do not allow seeking if we are not currently playing the stream // This allows a previous seek to be completed return; }