Fix bug in AudioPlayerService.