Added a few extra assertions to AudioSampleBuffer