90 void Add(
const uint8_t* pData,
size_t size);
#define HEPH_API
Definition HephShared.h:132
stores encoded audio data.
Definition EncodedAudioBuffer.h:15
EncodedAudioBuffer(size_t size, const AudioFormatInfo &formatInfo)
virtual ~EncodedAudioBuffer()=default
void SetAudioFormatInfo(const AudioFormatInfo &newFormatInfo)
EncodedAudioBuffer(const AudioFormatInfo &formatInfo)
void Add(const uint8_t *pData, size_t size)
AudioFormatInfo formatInfo
Definition EncodedAudioBuffer.h:29
EncodedAudioBuffer(const EncodedAudioBuffer &)=delete
const AudioFormatInfo & GetAudioFormatInfo() const
EncodedAudioBuffer(EncodedAudioBuffer &&rhs) noexcept
EncodedAudioBuffer(const uint8_t *pData, size_t size, const AudioFormatInfo &formatInfo)
virtual void Release() override
base class for buffers. Provides basic buffer operations and methods.
Definition BufferBase.h:31