58 bool operator==(
const AudioBuffer& rhs)
const override;
70 void Insert(
const AudioBuffer& rhs,
size_t frameIndex)
override;
71 void Cut(
size_t frameIndex,
size_t frameCount)
override;
72 void Replace(
const AudioBuffer& rhs,
size_t frameIndex,
size_t frameCount)
override;
73 void Resize(
size_t newFrameCount)
override;
101 static inline bool ADD_EVENT_HANDLERS =
false;
102 static void AddEventHandlers();
BufferFlags
Definition BufferBase.h:13
float heph_audio_sample_t
Definition HephAudioShared.h:133
#define HEPH_API
Definition HephShared.h:132
class for storing the audio samples in internal format.
Definition AudioBuffer.h:16
AudioBuffer & operator>>=(size_t rhs) override
AudioBuffer SubBuffer(size_t frameIndex, size_t frameCount) const override
void Cut(size_t frameIndex, size_t frameCount) override
AudioBuffer operator<<(size_t rhs) const override
AudioBuffer(size_t frameCount, const AudioChannelLayout &channelLayout, uint32_t sampleRate)
AudioBuffer & operator<<=(size_t rhs) override
void Resize(size_t newFrameCount) override
void SetSampleRate(uint32_t sampleRate)
AudioBuffer operator>>(size_t rhs) const override
const AudioFormatInfo & FormatInfo() const
size_t FrameCount() const
void SetChannelLayout(const AudioChannelLayout &channelLayout)
AudioBuffer(AudioBuffer &&rhs) noexcept
AudioBuffer(const AudioBuffer &rhs)
AudioBuffer(size_t frameCount, const AudioChannelLayout &channelLayout, uint32_t sampleRate, Heph::BufferFlags flags)
heph_audio_sample_t * operator[](size_t frameIndex) const
provides sound effects and filters.
Definition AudioProcessor.h:21
base class for buffers that store signed arithmetic types. Provides operations and methods for signed...
Definition ArithmeticBuffer.h:147
stores information about the channel layout.
Definition AudioChannelLayout.h:136
stores the information required to handle an event.
Definition EventParams.h:16