AME
ame::wav::WavReader< BytePointerType > Class Template Reference

WAVE file reader. More...

#include <ame_Pcm.hpp>

Public Member Functions

constexpr WavReader (BytePointerType wavByteArray, size_t length)
 
constexpr uint32_t getFileSize () const noexcept
 return RIFF header file size.
 
constexpr uint32_t getSampleRate () const noexcept
 return sample rate.
 
constexpr uint16_t getBitRate () const noexcept
 return bit rate.
 
constexpr uint16_t getNumChannels () const noexcept
 return number of channels
 
constexpr uint32_t getNumSamples () const noexcept
 return number of samples per channel.
 
constexpr Chunk< BytePointerType > getDataChunk () const noexcept
 return data chunk.
 
constexpr BytePointerType getDataPointer () const noexcept
 
constexpr fmt::wFormatTag getFormatTag () const noexcept
 

Detailed Description

template<typename BytePointerType>
class ame::wav::WavReader< BytePointerType >

WAVE file reader.

Template Parameters
BytePointerTypeunsigned char* (or CV-qualified)

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