Blender V2.61 - r43446
|
#include <AUD_IWriter.h>
Public Member Functions | |
virtual | ~AUD_IWriter () |
virtual int | getPosition () const =0 |
virtual AUD_DeviceSpecs | getSpecs () const =0 |
virtual void | write (unsigned int length, sample_t *buffer)=0 |
This class represents a sound sink where audio data can be written to.
Definition at line 38 of file AUD_IWriter.h.
virtual AUD_IWriter::~AUD_IWriter | ( | ) | [inline, virtual] |
Destroys the writer.
Definition at line 44 of file AUD_IWriter.h.
virtual int AUD_IWriter::getPosition | ( | ) | const [pure virtual] |
Returns how many samples have been written so far.
Implemented in AUD_FFMPEGWriter, and AUD_SndFileWriter.
virtual AUD_DeviceSpecs AUD_IWriter::getSpecs | ( | ) | const [pure virtual] |
Returns the specification of the audio data being written into the sink.
Implemented in AUD_FFMPEGWriter, and AUD_SndFileWriter.
virtual void AUD_IWriter::write | ( | unsigned int | length, |
sample_t * | buffer | ||
) | [pure virtual] |
Request to write the next length samples out into the sink.
length | The count of samples to write. |
buffer | The pointer to the buffer containing the data. |
Implemented in AUD_FFMPEGWriter, and AUD_SndFileWriter.