Voxeloop  0.1.0
Musical Loop Generation in Voxel World
Audio Class Reference

#include <Audio.hpp>

Collaboration diagram for Audio:
Collaboration graph

Public Member Functions

 Audio ()
 
 ~Audio ()
 
void setAudio (char s, std::string path)
 
void play (char s)
 
void addAudio (char key, float mvmt)
 
void updateList ()
 
void traverseList (float mvmt)
 

Private Attributes

ma_engine engine
 
ma_result result
 
std::map< char, ma_sound > sounds
 
Treetree
 
TreeNodecurrentSound
 

Constructor & Destructor Documentation

◆ Audio()

Audio::Audio ( )

◆ ~Audio()

Audio::~Audio ( )

Member Function Documentation

◆ addAudio()

void Audio::addAudio ( char  key,
float  mvmt 
)

◆ play()

void Audio::play ( char  s)

◆ setAudio()

void Audio::setAudio ( char  s,
std::string  path 
)

◆ traverseList()

void Audio::traverseList ( float  mvmt)

◆ updateList()

void Audio::updateList ( )

Member Data Documentation

◆ currentSound

TreeNode* Audio::currentSound
private

◆ engine

ma_engine Audio::engine
private

◆ result

ma_result Audio::result
private

◆ sounds

std::map<char, ma_sound> Audio::sounds
private

◆ tree

Tree* Audio::tree
private

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