AudioBuffer Class Referenceabstract

Public Member Functions

void add (AudioBuffer &other)
void add (float scalar)
virtual void clear ()=0
void copyFrom (AudioBuffer &other)
void copyTo (AudioBuffer &other)
virtual int getChannels ()=0
virtual FloatArray getSamples (int channel)=0
virtual int getSize ()=0
void multiply (float scalar)
virtual ~AudioBuffer ()

Static Public Member Functions

static AudioBuffercreate (int channels, int samples)
static void destroy (AudioBuffer *buffer)

Detailed Description

Definition at line 6 of file AudioBuffer.h.

Constructor & Destructor Documentation

◆ ~AudioBuffer()

virtual AudioBuffer::~AudioBuffer ( )

Member Function Documentation

◆ add() [1/2]

void AudioBuffer::add ( AudioBuffer other)

Definition at line 21 of file AudioBuffer.h.

References FloatArray::add(), getChannels(), and getSamples().

◆ add() [2/2]

◆ clear()

virtual void AudioBuffer::clear ( )
pure virtual

◆ copyFrom()

void AudioBuffer::copyFrom ( AudioBuffer other)

◆ copyTo()

void AudioBuffer::copyTo ( AudioBuffer other)

Definition at line 29 of file AudioBuffer.h.

References SimpleArray< T >::copyTo(), getChannels(), and getSamples().

◆ create()

◆ destroy()

◆ getChannels()

virtual int AudioBuffer::getChannels ( )
pure virtual

◆ getSamples()

◆ getSize()

virtual int AudioBuffer::getSize ( )
pure virtual

◆ multiply()

void AudioBuffer::multiply ( float  scalar)

The documentation for this class was generated from the following file: