#include <tracktion_AudioFileCache.h>
◆ AudioFileCache()
tracktion::engine::AudioFileCache::AudioFileCache |
( |
Engine & |
| ) |
|
◆ ~AudioFileCache()
tracktion::engine::AudioFileCache::~AudioFileCache |
( |
| ) |
|
◆ createReader() [1/2]
Creates a Reader to read an AudioFile.
This will use a memoery mapped reader for uncompressed formats.
◆ createReader() [2/2]
Reader::Ptr tracktion::engine::AudioFileCache::createReader |
( |
const AudioFile & |
, |
|
|
const std::function< std::unique_ptr< FallbackReader >(juce::AudioFormatReader *sourceReader, juce::TimeSliceThread &timeSliceThread, int samplesToBuffer)> & |
createFallbackReader |
|
) |
| |
◆ createFallbackReader()
Reader::Ptr tracktion::engine::AudioFileCache::createFallbackReader |
( |
const std::function< std::unique_ptr< FallbackReader >(juce::TimeSliceThread &timeSliceThread, int samplesToBuffer)> & |
createFallbackReader | ) |
|
◆ setCacheSizeSamples()
void tracktion::engine::AudioFileCache::setCacheSizeSamples |
( |
SampleCount |
samplesPerFile | ) |
|
◆ getCacheSizeSamples()
SampleCount tracktion::engine::AudioFileCache::getCacheSizeSamples |
( |
| ) |
const |
◆ getBytesInUse()
SampleCount tracktion::engine::AudioFileCache::getBytesInUse |
( |
| ) |
const |
◆ hasCacheMissed()
bool tracktion::engine::AudioFileCache::hasCacheMissed |
( |
bool |
clearMissedFlag | ) |
|
◆ getCpuUsage()
TimeDuration tracktion::engine::AudioFileCache::getCpuUsage |
( |
| ) |
const |
Returns the amount of time spent reading files in the last block.
◆ nextBlockStarted()
void tracktion::engine::AudioFileCache::nextBlockStarted |
( |
| ) |
|
◆ hasMappedReader()
The documentation for this class was generated from the following file: