pjmedia_aud_dev_cap class abstract
This enumeration identifies various audio device capabilities. These audio capabilities indicates what features are supported by the underlying audio device implementation.
Applications get these capabilities in the #pjmedia_aud_dev_info structure.
Application can also set the specific features/capabilities when opening the audio stream by setting the \a flags member of #pjmedia_aud_param structure.
Once audio stream is running, application can also retrieve or set some specific audio capability, by using #pjmedia_aud_stream_get_cap() and #pjmedia_aud_stream_set_cap() and specifying the desired capability. The value of the capability is specified as pointer, and application needs to supply the pointer with the correct value, according to the documentation of each of the capability.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
- PJMEDIA_AUD_DEV_CAP_CNG → const int
- The audio device has comfort noise generation feature. The value of this capability is a pj_bool_t containing boolean PJ_TRUE or PJ_FALSE.
- PJMEDIA_AUD_DEV_CAP_EC → const int
- The audio device has echo cancellation feature. The value of this capability is a pj_bool_t containing boolean PJ_TRUE or PJ_FALSE.
- PJMEDIA_AUD_DEV_CAP_EC_TAIL → const int
- The audio device supports setting echo cancellation fail length. The value of this capability is an unsigned integer representing the echo tail in milliseconds.
- PJMEDIA_AUD_DEV_CAP_EXT_FORMAT → const int
- Support for audio formats other than PCM. The value of this capability is represented by #pjmedia_format structure.
- PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY → const int
- Support for audio input latency control or query. The value of this capability is an unsigned integer containing milliseconds value of the latency.
- PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE → const int
- Support for audio input routing/source. The value of this capability is an integer containing #pjmedia_aud_dev_route enumeration.
- PJMEDIA_AUD_DEV_CAP_INPUT_SIGNAL_METER → const int
- Support for monitoring the current audio input signal volume. The value of this capability is an unsigned integer representing the audio volume in percent.
- PJMEDIA_AUD_DEV_CAP_INPUT_SOURCE → const int
- PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING → const int
- Support for setting/retrieving the audio input device volume level. The value of this capability is an unsigned integer representing the input audio volume setting in percent.
- PJMEDIA_AUD_DEV_CAP_MAX → const int
- End of capability
- PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY → const int
- Support for audio output latency control or query. The value of this capability is an unsigned integer containing milliseconds value of the latency.
- PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE → const int
- Support for audio output routing (e.g. loudspeaker vs earpiece). The value of this capability is an integer containing #pjmedia_aud_dev_route enumeration.
- PJMEDIA_AUD_DEV_CAP_OUTPUT_SIGNAL_METER → const int
- Support for monitoring the current audio output signal volume. The value of this capability is an unsigned integer representing the audio volume in percent.
- PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING → const int
- Support for setting/retrieving the audio output device volume level. The value of this capability is an unsigned integer representing the output audio volume setting in percent.
- PJMEDIA_AUD_DEV_CAP_PLC → const int
- The audio device has packet loss concealment feature. The value of this capability is a pj_bool_t containing boolean PJ_TRUE or PJ_FALSE.
- PJMEDIA_AUD_DEV_CAP_VAD → const int
- The audio device has voice activity detection feature. The value of this capability is a pj_bool_t containing boolean PJ_TRUE or PJ_FALSE.