MCPcopy Create free account
hub / github.com/adamstark/AudioFile / getAiffSampleRate

Method getAiffSampleRate

AudioFile.h:863–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861//=============================================================
862template <class T>
863uint32_t AudioFile<T>::getAiffSampleRate (const std::vector<uint8_t>& fileData, int sampleRateStartIndex)
864{
865 double sampleRate = AiffUtilities::decodeAiffSampleRate (&fileData[sampleRateStartIndex]);
866 return static_cast<uint32_t> (sampleRate);
867}
868
869//=============================================================
870template <class T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected