|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Public Member Functions | |
| BufferedAudioReader (std::unique_ptr< juce::AudioFormatReader >, juce::TimeSliceThread &) | |
| ~BufferedAudioReader () override | |
| Destructor. | |
| float | getProportionComplete () const |
| Returns the proportion of the source that has been cached. | |
| bool | readSamples (int *const *destSamples, int numDestChannels, int startOffsetInDestBuffer, juce::int64 startSampleInFile, int numSamples) override |
| int | useTimeSlice () override |
Public Member Functions inherited from juce::AudioFormatReader | |
| const String & | getFormatName () const noexcept |
| bool | read (float *const *destChannels, int numDestChannels, int64 startSampleInSource, int numSamplesToRead) |
| bool | read (int *const *destChannels, int numDestChannels, int64 startSampleInSource, int numSamplesToRead, bool fillLeftoverChannelsWithCopies) |
| bool | read (AudioBuffer< float > *buffer, int startSampleInDestBuffer, int numSamples, int64 readerStartSample, bool useReaderLeftChan, bool useReaderRightChan) |
| virtual void | readMaxLevels (int64 startSample, int64 numSamples, Range< float > *results, int numChannelsToRead) |
| virtual void | readMaxLevels (int64 startSample, int64 numSamples, float &lowestLeft, float &highestLeft, float &lowestRight, float &highestRight) |
| int64 | searchForLevel (int64 startSample, int64 numSamplesToSearch, double magnitudeRangeMinimum, double magnitudeRangeMaximum, int minimumConsecutiveSamples) |
| virtual AudioChannelSet | getChannelLayout () |
Additional Inherited Members | |
Public Attributes inherited from juce::AudioFormatReader | |
| double | sampleRate |
| unsigned int | bitsPerSample |
| int64 | lengthInSamples |
| unsigned int | numChannels |
| bool | usesFloatingPointData |
| StringPairArray | metadataValues |
| InputStream * | input |
Protected Member Functions inherited from juce::AudioFormatReader | |
| AudioFormatReader (InputStream *sourceStream, const String &formatName) | |
Static Protected Member Functions inherited from juce::AudioFormatReader | |
| static void | clearSamplesBeyondAvailableLength (int *const *destChannels, int numDestChannels, int startOffsetInDestBuffer, int64 startSampleInFile, int &numSamples, int64 fileLengthInSamples) |
Definition at line 16 of file tracktion_BufferedAudioReader.h.
| tracktion::engine::BufferedAudioReader::BufferedAudioReader | ( | std::unique_ptr< juce::AudioFormatReader > | sourceReader, |
| juce::TimeSliceThread & | t | ||
| ) |
Definition at line 15 of file tracktion_BufferedAudioReader.cpp.
|
override |
Destructor.
Definition at line 34 of file tracktion_BufferedAudioReader.cpp.
| float tracktion::engine::BufferedAudioReader::getProportionComplete | ( | ) | const |
Returns the proportion of the source that has been cached.
Definition at line 39 of file tracktion_BufferedAudioReader.cpp.
|
overridevirtual |
Implements juce::AudioFormatReader.
Definition at line 45 of file tracktion_BufferedAudioReader.cpp.
|
overridevirtual |
Implements juce::TimeSliceClient.
Definition at line 76 of file tracktion_BufferedAudioReader.cpp.