TracktionEngine
Loading...
Searching...
No Matches
engine::AudioFile Class Reference

#include <tracktion_AudioFile.h>

Public Member Functions

 AudioFile ()=delete
 AudioFile (Engine &e) noexcept
 AudioFile (Engine &, const juce::File &) noexcept
 AudioFile (const AudioFile &) noexcept
AudioFile & operator= (const AudioFile &) noexcept
 ~AudioFile ()
const juce::File & getFile () const noexcept
HashCode getHash () const noexcept
juce::String getHashString () const
bool operator== (const AudioFile &other) const noexcept
bool operator!= (const AudioFile &other) const noexcept
bool deleteFile () const
bool moveToTrash () const
bool isNull () const noexcept
bool isValid () const
AudioFileInfo getInfo () const
int64_t getLengthInSamples () const
double getLength () const
int getNumChannels () const
double getSampleRate () const
int getBitsPerSample () const
bool isFloatingPoint () const
juce::StringPairArray getMetadata () const
juce::AudioFormat * getFormat () const
bool isWavFile () const
bool isAiffFile () const
bool isOggFile () const
bool isMp3File () const
bool isFlacFile () const
bool isRexFile () const

Static Public Member Functions

static bool deleteFiles (Engine &, const juce::Array< juce::File > &files)

Public Attributes

Engine * engine = nullptr

Constructor & Destructor Documentation

◆ AudioFile() [1/4]

engine::AudioFile::AudioFile ( )
delete

◆ AudioFile() [2/4]

engine::AudioFile::AudioFile ( Engine & e)
noexcept

◆ AudioFile() [3/4]

engine::AudioFile::AudioFile ( Engine & ,
const juce::File &  )
explicitnoexcept

◆ AudioFile() [4/4]

engine::AudioFile::AudioFile ( const AudioFile & )
noexcept

References AudioFile().

◆ ~AudioFile()

engine::AudioFile::~AudioFile ( )

Member Function Documentation

◆ operator=()

AudioFile & engine::AudioFile::operator= ( const AudioFile & )
noexcept

References AudioFile().

◆ getFile()

const juce::File & engine::AudioFile::getFile ( ) const
noexcept

◆ getHash()

HashCode engine::AudioFile::getHash ( ) const
noexcept

◆ getHashString()

juce::String engine::AudioFile::getHashString ( ) const

◆ operator==()

bool engine::AudioFile::operator== ( const AudioFile & other) const
noexcept

References AudioFile().

◆ operator!=()

bool engine::AudioFile::operator!= ( const AudioFile & other) const
noexcept

References AudioFile().

◆ deleteFile()

bool engine::AudioFile::deleteFile ( ) const

◆ deleteFiles()

bool engine::AudioFile::deleteFiles ( Engine & ,
const juce::Array< juce::File > & files )
static

◆ moveToTrash()

bool engine::AudioFile::moveToTrash ( ) const

◆ isNull()

bool engine::AudioFile::isNull ( ) const
noexcept

◆ isValid()

bool engine::AudioFile::isValid ( ) const

◆ getInfo()

AudioFileInfo engine::AudioFile::getInfo ( ) const

◆ getLengthInSamples()

int64_t engine::AudioFile::getLengthInSamples ( ) const

◆ getLength()

double engine::AudioFile::getLength ( ) const

◆ getNumChannels()

int engine::AudioFile::getNumChannels ( ) const

◆ getSampleRate()

double engine::AudioFile::getSampleRate ( ) const

◆ getBitsPerSample()

int engine::AudioFile::getBitsPerSample ( ) const

◆ isFloatingPoint()

bool engine::AudioFile::isFloatingPoint ( ) const

◆ getMetadata()

juce::StringPairArray engine::AudioFile::getMetadata ( ) const

◆ getFormat()

juce::AudioFormat * engine::AudioFile::getFormat ( ) const

◆ isWavFile()

bool engine::AudioFile::isWavFile ( ) const

◆ isAiffFile()

bool engine::AudioFile::isAiffFile ( ) const

◆ isOggFile()

bool engine::AudioFile::isOggFile ( ) const

◆ isMp3File()

bool engine::AudioFile::isMp3File ( ) const

◆ isFlacFile()

bool engine::AudioFile::isFlacFile ( ) const

◆ isRexFile()

bool engine::AudioFile::isRexFile ( ) const

Member Data Documentation

◆ engine

Engine* engine::AudioFile::engine = nullptr

The documentation for this class was generated from the following file: