#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/io/al_AudioIO.hpp>
|
| | AudioDevice (int deviceNum=-1) |
| |
| | AudioDevice (const std::string &nameKeyword, StreamMode stream=StreamMode(INPUT|OUTPUT)) |
| |
|
virtual bool | valid () const |
| | Returns whether device is valid.
|
| |
|
virtual bool | hasInput () const |
| | Returns whether device has input.
|
| |
|
virtual bool | hasOutput () const |
| | Returns whether device has output.
|
| |
|
virtual void | print () const |
| | Prints info about specific i/o device to stdout.
|
| |
|
virtual int | id () const |
| | Get device unique ID.
|
| |
|
virtual const char * | name () const |
| | Get device name.
|
| |
|
virtual int | channelsInMax () const |
| | Get maximum number of input channels supported.
|
| |
|
virtual int | channelsOutMax () const |
| | Get maximum number of output channels supported.
|
| |
|
virtual double | defaultSampleRate () const |
| | Get default sample rate.
|
| |
|
virtual void | setID (int iD) |
| | Sets unique ID.
|
| |
|
virtual void | setName (char *name) |
| | Sets device name.
|
| |
|
virtual void | setChannelsInMax (int num) |
| | Sets maximum number of Input channels supported.
|
| |
|
virtual void | setChannelsOutMax (int num) |
| | Sets maximum number of Output channels supported.
|
| |
|
virtual void | setDefaultSampleRate (double rate) |
| | Sets default sample rate.
|
| |
|
|
void | setImpl (int deviceNum) |
| |
|
|
static void | initDevices () |
| |
|
|
int | mID {-1} |
| |
|
char | mName [128] |
| |
|
int | mChannelsInMax {0} |
| |
|
int | mChannelsOutMax {0} |
| |
|
double | mDefaultSampleRate {0} |
| |
|
bool | mValid {false} |
| |
Audio device
Definition at line 118 of file al_AudioIO.hpp.
◆ StreamMode
Stream mode.
| Enumerator |
|---|
| INPUT | Input stream
|
| OUTPUT | Output stream
|
Definition at line 121 of file al_AudioIO.hpp.
◆ AudioDevice() [1/2]
| al::AudioDevice::AudioDevice |
( |
int |
deviceNum = -1 | ) |
|
- Parameters
-
| [in] | deviceNum | Device enumeration number |
◆ AudioDevice() [2/2]
- Parameters
-
| [in] | nameKeyword | Keyword to search for in device name |
| [in] | stream | Whether to search for input and/or output devices |
The documentation for this class was generated from the following file: