Allolib  1.0
C++ Components For Interactive Multimedia
al::AudioBackend Class Reference

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

Public Member Functions

bool isOpen () const
 
bool isRunning () const
 
bool error () const
 
void printError (const char *text="") const
 
void printInfo () const
 
bool supportsFPS (double fps)
 
void inDevice (int index)
 
void outDevice (int index)
 
void channels (int num, bool forOutput)
 
void setStreamName (std::string name)
 
int inDeviceChans ()
 
int outDeviceChans ()
 
void setInDeviceChans (int num)
 
void setOutDeviceChans (int num)
 
double time ()
 
bool open (int framesPerSecond, unsigned int framesPerBuffer, void *userdata)
 
bool close ()
 
bool start (int framesPerSecond, int framesPerBuffer, void *userdata)
 
bool stop ()
 
double cpu ()
 

Static Public Member Functions

static AudioDevice defaultInput ()
 
static AudioDevice defaultOutput ()
 
static bool deviceIsValid (int num)
 
static int deviceMaxInputChannels (int num)
 
static int deviceMaxOutputChannels (int num)
 
static double devicePreferredSamplingRate (int num)
 
static std::string deviceName (int num)
 
static int numDevices ()
 

Protected Attributes

bool mRunning {false}
 
bool mOpen {false}
 
std::shared_ptr< void > mBackendData
 

Detailed Description

Abstract audio backend

Definition at line 64 of file al_AudioIO.hpp.


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