Adding level metering APIs, similar to those in AVAudioPlayer.