@ Override public void stopPlayback ( ) { if ( isNotStoppingNorStopped ( ) ) { setIsStopping ( ) ; while ( ! isStopped ( ) ) { try { Thread . sleep ( 1 ) ; } catch ( InterruptedException ex ) { /*noop*/ } } stopLine ( ) ; } }
Stopps the playback . Will wait until stopp is done