31 float *
const buffers[],
sampleCount start,
size_t len,
37 const auto castBuffers =
reinterpret_cast<const samplePtr*
>(buffers);
38 const auto result =
DoGet(
40 floatSample, start, len, backwards, fill, mayThrow, pNumWithinClips);
double LongSamplesToTime(sampleCount pos) const
sampleCount TimeToLongSamples(double t0) const
virtual bool DoGet(size_t iChannel, size_t nBuffers, const samplePtr buffers[], sampleFormat format, sampleCount start, size_t len, bool backward, fillFormat fill=FillFormat::fillZero, bool mayThrow=true, sampleCount *pNumWithinClips=nullptr) const =0
virtual ~WideSampleSequence()
bool GetFloats(size_t iChannel, size_t nBuffers, float *const buffers[], sampleCount start, size_t len, bool backwards=false, fillFormat fill=FillFormat::fillZero, bool mayThrow=true, sampleCount *pNumWithinClips=nullptr) const
double SnapToSample(double t) const
virtual double GetRate() const =0
Positions or offsets within audio files need a wide type.