|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Public Member Functions | |
| MemoryMappedFloatReader (const juce::File &f, const FloatAudioFormatReader &reader) | |
| bool | readSamples (int *const *destSamples, int numDestChannels, int startOffsetInDestBuffer, juce::int64 startSampleInFile, int numSamples) override |
| void | getSample (juce::int64 sample, float *result) const noexcept override |
| void | readMaxLevels (juce::int64 startSampleInFile, juce::int64 numSamples, juce::Range< float > *results, int numChannelsToRead) override |
Public Member Functions inherited from juce::MemoryMappedAudioFormatReader | |
| const File & | getFile () const noexcept |
| bool | mapEntireFile () |
| virtual bool | mapSectionOfFile (Range< int64 > samplesToMap) |
| Range< int64 > | getMappedSection () const noexcept |
| void | touchSample (int64 sample) const noexcept |
| size_t | getNumBytesUsed () const |
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, 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::MemoryMappedAudioFormatReader | |
| MemoryMappedAudioFormatReader (const File &file, const AudioFormatReader &details, int64 dataChunkStart, int64 dataChunkLength, int bytesPerFrame) | |
| int64 | sampleToFilePos (int64 sample) const noexcept |
| int64 | filePosToSample (int64 filePos) const noexcept |
| const void * | sampleToPointer (int64 sample) const noexcept |
| Range< float > | scanMinAndMaxInterleaved (int channel, int64 startSampleInFile, int64 numSamples) const noexcept |
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 168 of file tracktion_FloatAudioFileFormat.cpp.
| tracktion::engine::MemoryMappedFloatReader::MemoryMappedFloatReader | ( | const juce::File & | f, |
| const FloatAudioFormatReader & | reader | ||
| ) |
Definition at line 171 of file tracktion_FloatAudioFileFormat.cpp.
|
overridevirtualnoexcept |
Implements juce::MemoryMappedAudioFormatReader.
Definition at line 202 of file tracktion_FloatAudioFileFormat.cpp.
|
overridevirtual |
Reimplemented from juce::AudioFormatReader.
Definition at line 224 of file tracktion_FloatAudioFileFormat.cpp.
|
overridevirtual |
Implements juce::AudioFormatReader.
Definition at line 180 of file tracktion_FloatAudioFileFormat.cpp.