Inheritance diagram for WaveFileSink:
Public Member Functions
|WaveFileSink (FileHandle File, unsigned int Channels, UInt32 SamplesPerSec, unsigned int BitsPerSample, UInt32 DataSize=0)|
|Clean up. |
|virtual bool||PutEssenceData (UInt8 *const Buffer, size_t BufferSize, bool EndOfItem=true)|
|Receive the next "installment" of essence data. |
|virtual bool||EndOfData (void)|
|Called once all data exhausted. |
|The file to write. |
|The number of audio channels. |
|The sample rate in smaples per second. |
|The number of bits per sample, per channel. |
|The size of the entire data chunk of the finished wave file (if known), else 0. |
|Set true once the wave header has been written. |
|True once EndOfData is called. |
Private Member Functions
|UInt32|| DataSize = |
|bool PutEssenceData||(||UInt8 *const||Buffer,|
|bool|| EndOfItem = |
Receive the next "installment" of essence data.
This will recieve a buffer containing thhe next bytes of essence data
|Buffer||The data buffer|
|BufferSize||The number of bytes in the data buffer|
|EndOfItem||This buffer is the last in this wrapping item|
If false is returned the caller should make no more calls to this function, but the function should be implemented such that it is safe to do so
Called once all data exhausted.
|unsigned int ChannelCount
The number of audio channels.
|unsigned int BitsPerSample
The number of bits per sample, per channel.
The size of the entire data chunk of the finished wave file (if known), else 0.
Set true once the wave header has been written.
True once EndOfData is called.