#include "SampleFormat.hxx"
#include <stdint.h>
Go to the source code of this file.
Converts PCM samples to 16 bit.
If the source format is 24 bit, then dithering is applied.
- Parameters
-
buffer | a PcmBuffer object |
dither | a PcmDither object for 24-to-16 conversion |
src | the source PCM buffer |
- Returns
- the destination buffer
Converts PCM samples to 24 bit (32 bit alignment).
- Parameters
-
buffer | a PcmBuffer object |
src | the source PCM buffer |
- Returns
- the destination buffer
Converts PCM samples to 32 bit.
- Parameters
-
buffer | a PcmBuffer object |
src | the source PCM buffer |
- Returns
- the destination buffer
Converts PCM samples to 32 bit floating point.
- Parameters
-
buffer | a PcmBuffer object |
src | the source PCM buffer |
- Returns
- the destination buffer