set playing flag in audio_player_thread