This is a class that uses CoreAudio to record sound from a sound input and writes it to a file or hand the audio samples to a delegate.