LiveBuffer class added

Live Buffer for recording while playing on the same buffer. It uses 2
Buffers and switches buffer after recording/playing the past buffer.