Remove some unused code
Guard against NULL NSError object
Use numSamples in place of audioDataSize
Minor formatting change
Remove spurious debug statement