|
| cWaveFormat () |
|
virtual | ~cWaveFormat () |
|
void | SetFormatNull () |
|
HRESULT | SetFormat (const cWaveFormatEx *pForm) |
|
HRESULT | SetFormatBytes (const void *pFormData, size_t iSize) |
|
HRESULT | SetFormatEx (WORD wFormatTag, WORD nChannels=1, UINT nSamplesPerSec=8000, WORD wBitsPerSample=8, WORD wSizeEx=0) |
|
HRESULT | SetFormatPCM (WORD nChannels=1, UINT32 nSamplesPerSec=11025, WORD wBitsPerSample=8) |
|
bool | isValidFormat () const |
|
virtual void | ReCalc (void) |
|
bool | IsSameAs (const cWaveFormatEx *pForm) const |
|
WAVE_BLOCKS_t | CvtSrcToDstSize (WAVE_BLOCKS_t SrcSize, const cWaveFormatEx *pDstForm) const |
|
UINT | GetRateDiff (const cWaveFormatEx *pDstForm) const |
|
const cWaveFormatEx * | get_WF () const |
| Get info about the format. More...
|
|
cWaveFormatEx * | ref_WF () |
|
| operator const cWaveFormatEx * () const |
|
bool | isPCM () const |
|
size_t | get_BlockSize () const |
|
UINT | get_SamplesPerSec () const |
|
size_t | get_BytesPerSec () const |
|
WORD | get_Channels () const |
|
size_t | get_SampleSize () const |
|
UINT | get_SampleRangeHalf (void) const |
|
size_t | CvtBlocksToBytes (WAVE_BLOCKS_t index) const |
| Convert Samples, Time(ms), and Bytes to Blocks and back. More...
|
|
WAVE_BLOCKS_t | CvtBytesToBlocks (size_t sizebytes) const |
|
UINT | CvtBlocksToSamples (WAVE_BLOCKS_t index) const |
|
WAVE_BLOCKS_t | CvtSamplesToBlocks (UINT dwSamples) const |
|
TIMESYSD_t | CvtBlocksTomSec (WAVE_BLOCKS_t index) const |
|
WAVE_BLOCKS_t | CvtmSecToBlocks (TIMESYSD_t mSec) const |
|
bool | ReAllocFormatSize (size_t iSize) |
|
HRESULT | WriteStream (cStreamOutput *pFile) const |
|
HRESULT | ReadStream (cStreamInput &strIn, size_t iSizeMax) |
|
| UNITTEST_FRIEND (cWaveFormat) |
|
| cHeapBlock () noexcept |
|
| cHeapBlock (const THIS_t &ref) |
|
| cHeapBlock (THIS_t &&ref) noexcept |
|
| cHeapBlock (size_t nSize) |
|
| cHeapBlock (const void *pDataCopy, size_t nSize) |
|
| ~cHeapBlock () |
|
THIS_t & | operator= (const THIS_t &ref) |
|
THIS_t & | operator= (THIS_t &&ref) |
|
bool | isValidRead () const noexcept |
|
bool | isCorrupt () const noexcept |
|
size_t | get_AllocSize () const |
|
size_t | GetHeapStats (OUT ITERATE_t &iAllocCount) const |
|
void | Free () |
|
void | FreeSecure () |
|
void | SetHeapBlock (void *pData, size_t nSize) |
|
void | DetachHeapBlock () |
|
bool | Alloc (size_t nSize) |
|
bool | Alloc (const void *pData, size_t nSize) |
|
bool | ReAlloc (size_t nSize) |
|
bool | ReAlloc (const void *pData, size_t nSize) |
|
bool | ReAllocLazy (size_t iSizeNew) |
|
bool | SetCopy (const cHeapBlock &rSrc) |
|
void * | get_Data () const noexcept |
|
BYTE * | get_DataBytes () const noexcept |
|
char * | get_DataA () const noexcept |
|
wchar_t * | get_DataW () const noexcept |
|
| operator void * () const noexcept |
|
| operator BYTE * () const noexcept |
|
| operator char * () const noexcept |
|
| cMemBlock () noexcept |
|
| cMemBlock (const void *pData, size_t nSize) noexcept |
|
| cMemBlock (const cMemBlock &block) noexcept |
|
| cMemBlock (const cMemBlock *pBlock) noexcept |
|
size_t | get_DataSize () const noexcept |
|
void * | get_Data () const noexcept |
|
BYTE * | get_DataBytes () const noexcept |
|
char * | get_DataA () const noexcept |
|
| operator const BYTE * () const noexcept |
|
bool | isValidPtr () const noexcept |
|
bool | IsValidIndex (size_t i) const noexcept |
|
bool | IsValidIndex2 (size_t i) const noexcept |
|
bool | IsValidPtr (const void *p) const noexcept |
|
bool | IsValidPtr2 (const void *p) const noexcept |
|
bool | IsZeros () const noexcept |
|
bool | IsEqualData (const void *pData, size_t nSize) const noexcept |
|
bool | IsEqualData (const cMemBlock *pData) const noexcept |
|
bool | IsEqualData (const cMemBlock &data) const noexcept |
|
BYTE * | GetOffset (size_t nOffset) const |
|
const void * | get_DataEnd () const noexcept |
|
void | put_DataPtr (void *pStart) noexcept |
|
void | put_Size (size_t nSize) noexcept |
|
void | SetBlock (void *pData, size_t nSize) noexcept |
|
void | SetEmptyBlock () noexcept |
|
void | InitZeros () noexcept |
|
StrLen_t | ConvertToString (char *pszDst, StrLen_t iDstSizeMax) const |
|
Format description for wave audio data. Base container to contain cWaveFormatEx (with variable length data) size = sizeof(cWaveFormatEx) + cWaveFormatEx.cbSize (bytes)