pjmedia_aud_param class final
This structure specifies the parameters to open the audio stream.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter - bits_per_sample ↔ int
-
Number of bits per sample. This setting is mandatory.
getter/setter pair
- channel_count ↔ int
-
Number of channels. This setting is mandatory.
getter/setter pair
- clock_rate ↔ int
-
Clock rate/sampling rate. This setting is mandatory.
getter/setter pair
- cng_enabled ↔ int
-
Enable/disable CNG. This setting is optional, and will only be used
if PJMEDIA_AUD_DEV_CAP_CNG is set in the flags.
getter/setter pair
- dir ↔ int
-
The audio direction. This setting is mandatory.
getter/setter pair
- ec_enabled ↔ int
-
Enable/disable echo canceller, if the device supports it. This setting
is optional, and will only be used if PJMEDIA_AUD_DEV_CAP_EC is set in
the flags.
getter/setter pair
- ec_tail_ms ↔ int
-
Set echo canceller tail length in milliseconds, if the device supports
it. This setting is optional, and will only be used if
PJMEDIA_AUD_DEV_CAP_EC_TAIL is set in the flags.
getter/setter pair
- ext_fmt ↔ pjmedia_format
-
Set the audio format. This setting is optional, and will only be used
if PJMEDIA_AUD_DEV_CAP_EXT_FORMAT is set in the flags.
getter/setter pair
- flags ↔ int
-
This flags specifies which of the optional settings are valid in this
structure. The flags is bitmask combination of pjmedia_aud_dev_cap.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- input_latency_ms ↔ int
-
Input latency, in milliseconds. This setting is optional, and will
only be used if PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY is set in the flags.
getter/setter pair
- input_route ↔ int
-
Set the audio input route/source. This setting is optional, and
will only be used if PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE/
PJMEDIA_AUD_DEV_CAP_INPUT_SOURCE is set in the flags.
getter/setter pair
- input_vol ↔ int
-
Input volume setting, in percent. This setting is optional, and will
only be used if PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING is set in
the flags.
getter/setter pair
- output_latency_ms ↔ int
-
Input latency, in milliseconds. This setting is optional, and will
only be used if PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY is set in the flags.
getter/setter pair
- output_route ↔ int
-
Set the audio output route. This setting is optional, and will only be
used if PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE is set in the flags.
getter/setter pair
- output_vol ↔ int
-
Output volume setting, in percent. This setting is optional, and will
only be used if PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING is set in
the flags.
getter/setter pair
- play_id ↔ int
-
The audio playback device ID. This setting is mandatory if the audio
direction includes output/playback direction.
getter/setter pair
- plc_enabled ↔ int
-
Enable/disable PLC. This setting is optional, and will only be used
if PJMEDIA_AUD_DEV_CAP_PLC is set in the flags.
getter/setter pair
- rec_id ↔ int
-
The audio recorder device ID. This setting is mandatory if the audio
direction includes input/capture direction.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- samples_per_frame ↔ int
-
Number of samples per frame. This setting is mandatory.
getter/setter pair
- vad_enabled ↔ int
-
Enable/disable VAD. This setting is optional, and will only be used
if PJMEDIA_AUD_DEV_CAP_VAD is set in the flags.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited