#include <WavAudioOStream.h>
Inheritance diagram for syn::WavAudioOStream:
Public Methods | |
WavAudioOStream () | |
virtual | ~WavAudioOStream () |
void | setName (const std::string &name) |
specify the file name to be used when you open() the stream. More... | |
bool | open (const syn::AudioFormat &fmt) |
open the stream specify the format of your data you'll be passing to write(). More... | |
virtual bool | isOpen ()=0 |
is the stream open? More... | |
bool | canAcceptMoreData () |
poll this function to know when to give more data to update. More... | |
bool | write (char *data, int samples) |
write samples to the audio stream. More... | |
virtual int | pcount () const |
get the put count == the number of samples last written by write(). More... | |
bool | close () |
close the stream... More... |
TODO: test this... (not complete)
Definition at line 45 of file WavAudioOStream.h.
|
Definition at line 48 of file WavAudioOStream.h. |
|
Definition at line 52 of file WavAudioOStream.h. |
|
specify the file name to be used when you open() the stream.
Definition at line 55 of file WavAudioOStream.h. |
|
open the stream specify the format of your data you'll be passing to write().
Reimplemented from syn::AudioOStream. Definition at line 72 of file WavAudioOStream.h. Referenced by setName().
|
|
is the stream open?
Reimplemented from syn::AudioOStream. |
|
poll this function to know when to give more data to update.
Definition at line 90 of file WavAudioOStream.h. |
|
write samples to the audio stream.
Definition at line 100 of file WavAudioOStream.h. |
|
get the put count == the number of samples last written by write().
Reimplemented from syn::AudioOStream. Definition at line 111 of file WavAudioOStream.h. |
|
close the stream...
Reimplemented from syn::AudioOStream. Definition at line 114 of file WavAudioOStream.h. Referenced by setName().
|