#include <audio/service/portaudioservice.h>
Public Attributes | |
std::string | mHostApi = "" |
std::string | mInputDevice = "" |
std::string | mOutputDevice = "" |
int | mInputChannelCount = 1 |
int | mOutputChannelCount = 2 |
bool | mDisableInput = false |
bool | mDisableOutput = false |
float | mSampleRate = 44100 |
int | mBufferSize = 1024 |
int | mInternalBufferSize = 1024 |
Copyable struct containing audio device settings
int mBufferSize = 1024 |
The buffer size the audio stream will run on, every audio callback processes this amount of samples per channel
bool mDisableInput = false |
If set to true the audio will start with only an output device.
bool mDisableOutput = false |
If set to true the audio will start with only an input device.
std::string mHostApi = "" |
Name of the host API (or driver type) used for this audio stream. Use AudioService to poll for available host APIs The host API is an audio driver API like Windows MME, ASIO, CoreAudio, Jack, etc. If left empty the default host API will be used.
int mInputChannelCount = 1 |
The number of input channels in the stream. If the chosen input device does not support this amount of channels the stream will not start.
std::string mInputDevice = "" |
Name of the input device being used. Use the AudioService to poll for available devices for a certain host API. If left empty, the default input device will be used.
int mInternalBufferSize = 1024 |
The buffer size that is used internally by the node system to peform processing. This can be lower than mBufferSize but has to fit within mBufferSize a discrete amount of times. Lowering this can improve timing precision in the case that the node manager performs internal event scheduling, however will increase performance load.
int mOutputChannelCount = 2 |
The number of output channels in the stream. If the chosen output device does not support this amount of channels the stream will not start.
std::string mOutputDevice = "" |
Name of the output device being used. Use the AudioService to poll for available devices for a certain host API. If left empty the default output device will be used.
float mSampleRate = 44100 |
The sample rate the audio stream will run on, the number of samples processed per channel per second.