![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cRIFFFormat.h>
Public Member Functions | |
cRIFFWriter (cStreamOutput *pOut) | |
HRESULT | Ascend (cRIFFHeadX *pChunk) |
HRESULT | CreateChunk (cRIFFHeadX *pChunk, RIFFIO_TYPE dwFlags=RIFFIO_NULL) |
Public Attributes | |
cStreamOutput * | m_pOut |
File or memory stream output. More... | |
Allow an app to write a RIFF file/memory stream manually.
|
inline |
HRESULT GrayLib::cRIFFWriter::Ascend | ( | cRIFFHeadX * | pChunk | ) |
Done writing the current pChunk. Write the chunks length back in the starting chunk. padding align.
HRESULT GrayLib::cRIFFWriter::CreateChunk | ( | cRIFFHeadX * | pChunk, |
RIFFIO_TYPE | dwFlags = RIFFIO_NULL |
||
) |
create a child chunk. append to the file at current position. dwFlags = RIFFIO_CREATERIFF, RIFFIO_CREATELIST Expect Ascend() to be called for pChunk like "::mmioCreateChunk( m_hmmFile, pChunk, dwFlags );"
cStreamOutput* GrayLib::cRIFFWriter::m_pOut |
File or memory stream output.