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

Soundfile player class with thread-safe access to playback controls. 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)
 
void setPlay ()
 
void setPause ()
 
void togglePause ()
 
void setRewind ()
 
void setLoop ()
 
void setNoLoop ()
 
void getFrames (int numFrames, float *buffer, int bufferLength)
 

Public Attributes

SoundFile soundFile
 
SoundFilePlayer player
 
std::atomic< bool > pauseSignal
 
std::atomic< bool > loopSignal
 
std::atomic< bool > rewindSignal
 

Detailed Description

Soundfile player class with thread-safe access to playback controls.

Definition at line 100 of file al_SoundFile.hpp.


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