updating audioSampleBuffer class