boolean isPlaying ( int index ) { int state = AL10 . alGetSourcei ( sources . get ( index ) , AL10 . AL_SOURCE_STATE ) ; return ( state == AL10 . AL_PLAYING ) ; }
Check if a particular source is playing