Base class for the various Buffer classes. The template parameter T defined the sample type (precision).
Returns the number of frames in the buffer.
Returns the number of channels in the buffer.
Returns the total size of the buffer (frames * channels).
Returns true if number of frames is zero, false otherwise.
Returns a pointer to the first sample in the data buffer.
Returns a const pointer to the first sample in the data buffer.
Sets all samples to the value zero.