SoundBufferRecorder

Specialized SoundRecorder which stores the captured audio data into a sound buffer.

Constructors

this
this()

Default constructor.

Destructor

~this
~this()

Destructor.

Members

Functions

getBuffer
const(SoundBuffer) getBuffer()

Get the sound buffer containing the captured audio data.

onProcessSamples
bool onProcessSamples(const(short)[] samples)

Process a new chunk of recorded samples.

onStart
bool onStart()

Start capturing audio data.

onStop
void onStop()

Stop capturing audio data.

Meta