68 void setReadTimeout (
int timeoutMilliseconds) noexcept;
70 bool readSamples (
int** destSamples,
int numDestChannels,
int startOffsetInDestBuffer,
71 int64 startSampleInFile,
int numSamples)
override;
74 std::unique_ptr<AudioFormatReader> source;
76 std::atomic<int64> nextReadPosition { 0 };
80 enum { samplesPerBlock = 32768 };
93 BufferedBlock* getBlockContaining (int64 pos)
const noexcept;
94 int useTimeSlice()
override;
95 bool readNextBufferChunk();
An AudioFormatReader that uses a background thread to pre-read data from another reader.
Used by the TimeSliceThread class.
A thread that keeps a list of clients, and calls each one in turn, giving them all a chance to run so...
#define JUCE_API
This macro is added to all JUCE public class declarations.