Allolib  1.0
C++ Components For Interactive Multimedia
al::SoundFile Struct Reference

Read sound file and store the data in float array (interleaved) More...

#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/sound/al_SoundFile.hpp>

Public Member Functions

bool open (const char *path)
 
float * getFrame (long long int frame)
 

Public Attributes

std::vector< float > data
 
int sampleRate = 0
 
int channels = 0
 
long long int frameCount = 0
 

Detailed Description

Read sound file and store the data in float array (interleaved)

Reading supports wav, flac Implementation uses "dr libs" (https://github.com/mackron/dr_libs)

Definition at line 16 of file al_SoundFile.hpp.


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