74 void clear()
override;
118 void reset (
int numChannels,
double sampleRate,
int64 totalSamplesInSource = 0)
override;
124 int startOffsetInBuffer,
int numSamples)
override;
144 int getNumChannels()
const noexcept override;
147 double getTotalLength()
const noexcept override;
161 double startTimeSeconds,
162 double endTimeSeconds,
164 float verticalZoomFactor)
override;
175 double startTimeSeconds,
176 double endTimeSeconds,
177 float verticalZoomFactor)
override;
180 bool isFullyLoaded()
const noexcept override;
183 double getProportionComplete()
const noexcept;
186 int64 getNumSamplesFinished()
const noexcept override;
192 float getApproximatePeak()
const override;
199 void getApproximateMinMax (
double startTime,
double endTime,
int channelIndex,
200 float& minValue,
float& maxValue)
const noexcept override;
203 int64 getHashCode()
const override;
219 int32 samplesPerThumbSample = 0;
220 int64 totalSamples { 0 };
221 int64 numSamplesFinished = 0;
222 int32 numChannels = 0;
223 double sampleRate = 0;
226 void clearChannelData();
228 void setLevels (
const MinMaxValue*
const* values,
int thumbIndex,
int numChans,
int numValues);
229 void createChannels (
int length);
A multi-channel buffer containing floating point audio samples.
Provides a base for classes that can store and draw scaled views of an audio waveform.
An instance of this class is used to manage multiple AudioThumbnail objects.
Makes it easy to quickly draw scaled views of the waveform shape of an audio file.
A graphics context, used for drawing a component or image.
The base class for streams that write data to some kind of destination.
An array designed for holding objects.
Manages a rectangle and allows geometric operations to be performed on it.
signed int int32
A platform-independent 32-bit signed integer type.
long long int64
A platform-independent 64-bit integer type.