#include <bitres_converter.h>
Static Public Methods | |
| void | ConvertBitResolution (UINT32 nSampleCount, void *pSource, UINT16 nSourceResolution, void *pDest, UINT16 nDestResolution) |
| Converts 8, 16, 24 and 32 bit samples in any combination. | |
This class offers only one static function that is able to convert a buffer of 8, 16, 24 or 32 bit samples to a buffer of 8, 16, 24 or 32 bit samples.
Definition at line 24 of file bitres_converter.h.
|
||||||||||||||||||||||||
|
Converts 8, 16, 24 and 32 bit samples in any combination.
If nDestResolution is equal or higher nSourceResolution the conversion is not lossy. Note that 8 bit data is unsigned and a "silent" sample (-inf db) has value 0x80. 16, 24 and 32 bit data is signed and a "silent" sample has value 0. Definition at line 33 of file bitres_converter.cpp. References ac3::INT16, ac3::INT32, ac3::UINT16, ac3::UINT32, and ac3::UINT8. |
1.2.18