#include <RawAudioOStream.h>
Inheritance diagram for syn::RawAudioOStream:
Public Methods | |
RawAudioOStream () | |
virtual | ~RawAudioOStream () |
void | setName (const std::string &name) |
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 () |
is the stream open? More... | |
virtual bool | canAcceptMoreData () const |
poll this function to know when to give more data to update. More... | |
bool | write (const void *const 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... | |
virtual void | flush () |
simply write the raw stream data directly to the file with no header. many audio editors can open this simple format.
Definition at line 49 of file RawAudioOStream.h.
|
Definition at line 52 of file RawAudioOStream.h. |
|
Definition at line 56 of file RawAudioOStream.h. |
|
Definition at line 58 of file RawAudioOStream.h. |
|
open the stream specify the format of your data you'll be passing to write().
Reimplemented from syn::AudioOStream. Definition at line 75 of file RawAudioOStream.h. Referenced by setName().
|
|
is the stream open?
Reimplemented from syn::AudioOStream. Definition at line 89 of file RawAudioOStream.h. |
|
poll this function to know when to give more data to update.
Reimplemented from syn::AudioOStream. Definition at line 92 of file RawAudioOStream.h. |
|
write samples to the audio stream.
Reimplemented from syn::AudioOStream. Definition at line 100 of file RawAudioOStream.h. |
|
get the put count == the number of samples last written by write().
Reimplemented from syn::AudioOStream. Definition at line 112 of file RawAudioOStream.h. |
|
close the stream...
Reimplemented from syn::AudioOStream. Definition at line 115 of file RawAudioOStream.h. Referenced by setName().
|
|
Reimplemented from syn::AudioOStream. Definition at line 127 of file RawAudioOStream.h. |