Appearance
AudioPortConfig
cpp
#include <Ports/AudioPortTypes.h>cpp
struct AudioPortConfigDefined in Ports/AudioPortTypes.h:31
Configuration options of the audio port.
Public Attributes
| Return | Name | Description |
|---|---|---|
i64 | volL | Master volume (left and right channel). |
i64 | volR | Master volume (right). |
i64 | vol | Channel volumes and pan factors. |
i64 | pan | Pan of each audio channel. |
isize | bufferSize | Sample buffer capacity. |
SamplingMethod | samplingMethod | Selects how the audio buffer is resampled to match the target frequency. |
bool | asr | Adaptive Sample Rate enable switch. |
bool | idleFastPath | Performance booster. |
volL
cpp
i64 volLDefined in Ports/AudioPortTypes.h:34
Master volume (left and right channel).
volR
cpp
i64 volRDefined in Ports/AudioPortTypes.h:35
Master volume (right).
vol
cpp
i64 vol[4]Defined in Ports/AudioPortTypes.h:38
Channel volumes and pan factors.
pan
cpp
i64 pan[4]Defined in Ports/AudioPortTypes.h:39
Pan of each audio channel.
bufferSize
cpp
isize bufferSizeDefined in Ports/AudioPortTypes.h:42
Sample buffer capacity.
samplingMethod
cpp
SamplingMethod samplingMethodType: SamplingMethod
Defined in Ports/AudioPortTypes.h:45
Selects how the audio buffer is resampled to match the target frequency.
asr
cpp
bool asrDefined in Ports/AudioPortTypes.h:48
Adaptive Sample Rate enable switch.
idleFastPath
cpp
bool idleFastPathDefined in Ports/AudioPortTypes.h:51
Performance booster.