Skip to content

AudioPortConfig ​

cpp
#include <Ports/AudioPortTypes.h>
cpp
struct AudioPortConfig

Defined in Ports/AudioPortTypes.h:31

Configuration options of the audio port.

Public Attributes ​

ReturnNameDescription
i64volLMaster volume (left and right channel).
i64volRMaster volume (right).
i64volChannel volumes and pan factors.
i64panPan of each audio channel.
isizebufferSizeSample buffer capacity.
SamplingMethodsamplingMethodSelects how the audio buffer is resampled to match the target frequency.
boolasrAdaptive Sample Rate enable switch.
boolidleFastPathPerformance booster.

volL ​

cpp
i64 volL

Defined in Ports/AudioPortTypes.h:34

Master volume (left and right channel).


volR ​

cpp
i64 volR

Defined 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 bufferSize

Defined in Ports/AudioPortTypes.h:42

Sample buffer capacity.


samplingMethod ​

cpp
SamplingMethod samplingMethod

Type: SamplingMethod

Defined in Ports/AudioPortTypes.h:45

Selects how the audio buffer is resampled to match the target frequency.


asr ​

cpp
bool asr

Defined in Ports/AudioPortTypes.h:48

Adaptive Sample Rate enable switch.


idleFastPath ​

cpp
bool idleFastPath

Defined in Ports/AudioPortTypes.h:51

Performance booster.