Use exceptions in the audio API.