11#ifndef __AUDACITY_SAMPLE_FORMAT__
12#define __AUDACITY_SAMPLE_FORMAT__
52#define SAMPLE_SIZE(SampleFormat) (static_cast<unsigned>(SampleFormat) >> 16)
67#define SAMPLE_SIZE_DISK(SampleFormat) (((SampleFormat) == int24Sample) ? \
68 size_t{ 3 } : SAMPLE_SIZE(SampleFormat) )
140 other.mPtr =
nullptr;
144 auto ptr = other.mPtr;
145 other.mPtr =
nullptr;
221 float *dst,
size_t len,
size_t srcStride = 1,
size_t dstStride = 1);
233 unsigned int srcStride=1,
unsigned int dstStride=1);
237 size_t start,
size_t len);
DitherType
These ditherers are currently available:
GrowableSampleBuffer & Resize(size_t count, sampleFormat format)
GrowableSampleBuffer(size_t count, sampleFormat format)
SampleBuffer & Allocate(size_t count, sampleFormat format)
SampleBuffer(size_t count, sampleFormat format)
SampleBuffer(SampleBuffer &&other)
SampleBuffer & operator=(SampleBuffer &&other)
Holds a msgid for the translation catalog; may also bind format arguments.