|
Audaspace 1.7.0
A high level audio library.
|
This class represents a sound sink where audio data can be written to. More...
#include <IWriter.h>

Public Member Functions | |
| virtual | ~IWriter () |
| Destroys the writer. | |
| virtual int | getPosition () const =0 |
| Returns how many samples have been written so far. | |
| virtual DeviceSpecs | getSpecs () const =0 |
| Returns the specification of the audio data being written into the sink. | |
| virtual void | write (unsigned int length, sample_t *buffer)=0 |
| Request to write the next length samples out into the sink. | |
This class represents a sound sink where audio data can be written to.
|
pure virtual |
Returns how many samples have been written so far.
Implemented in FFMPEGWriter, and SndFileWriter.
|
pure virtual |
Returns the specification of the audio data being written into the sink.
Implemented in FFMPEGWriter, and SndFileWriter.
|
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 FFMPEGWriter, and SndFileWriter.