Defines the properties of a single audio input Frame. The buffer in each Frame is mutable which allows to apply audio processing operations to the input audio before it gets written / played somewhere else.
Audio data samples where each sample is encoded in PCM_16, stored in a ByteArray.
The count of samples present in the buffer. This is normally buffer.size / bytesPerChannel where bytesPerChannel = 2 for PCM_16 data.
buffer.size / bytesPerChannel
bytesPerChannel = 2
Allows to recycle the instance of this frame for a new frame.