NAME
ost::AudioBuffer - The AudioBuffer class is for mixing one-to-one soft
joins.
SYNOPSIS
#include <audio2.h>
Inherits ost::AudioBase.
Public Member Functions
AudioBuffer (Info *info, size_t size=4096)
virtual ~AudioBuffer ()
ssize_t getBuffer (Encoded data, size_t number)
save audio data from buffer data.
ssize_t putBuffer (Encoded data, size_t number)
Put data into the audio buffer.
Detailed Description
The AudioBuffer class is for mixing one-to-one soft joins.
Author:
Mark Lipscombe <markl@gasupnow.com> audio buffer mixer class
Constructor & Destructor Documentation
ost::AudioBuffer::AudioBuffer (Info * info, size_t size = 4096)
virtual ost::AudioBuffer::~AudioBuffer () [virtual]
Member Function Documentation
ssize_t ost::AudioBuffer::getBuffer (Encoded data, size_t number) [virtual]
save audio data from buffer data.
Returns:
number of bytes actually saved.
Parameters:
data save buffer.
number of bytes to save.
Implements ost::AudioBase.
ssize_t ost::AudioBuffer::putBuffer (Encoded data, size_t number) [virtual]
Put data into the audio buffer.
Returns:
number of bytes actually put.
Parameters:
data of data to load.
number of bytes to load.
Implements ost::AudioBase.
Author
Generated automatically by Doxygen for ccAudio from the source code.