added isDone() to audio.