63 return XO(
"16-bit PCM");
66 return XO(
"24-bit PCM");
69 return XO(
"32-bit float");
71 return XO(
"Unknown format");
76 size_t start,
size_t len)
79 memset(dst + start*
size, 0, len*
size);
89 wxASSERT(
static_cast<size_t>(
size) <= fixedSize);
91 while (first < last) {
92 memcpy(temp, first,
size);
93 memcpy(first, last,
size);
94 memcpy(last, temp,
size);
101 float *dst,
size_t len,
size_t srcStride,
size_t dstStride)
106 srcStride, dstStride);
112 unsigned int srcStride ,
113 unsigned int dstStride )
117 src, srcFormat, dst, dstFormat, len, srcStride, dstStride);
DitherType
These ditherers are currently available:
This class implements various functions for dithering and is derived from the dither code in the Ardo...
static DitherType FastDitherChoice()
static DitherType BestDitherChoice()
void Apply(DitherType ditherType, constSamplePtr source, sampleFormat sourceFormat, samplePtr dest, sampleFormat destFormat, unsigned int len, unsigned int sourceStride=1, unsigned int destStride=1)
Holds a msgid for the translation catalog; may also bind format arguments.