|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Detailed DescriptionThis structure specifies the parameters to open the audio stream. Field DocumentationThe audio direction. This setting is mandatory. The audio recorder device ID. This setting is mandatory if the audio direction includes input/capture direction. The audio playback device ID. This setting is mandatory if the audio direction includes output/playback direction.
Clock rate/sampling rate. This setting is mandatory.
Number of channels. This setting is mandatory.
Number of samples per frame. This setting is mandatory.
Number of bits per sample. This setting is mandatory.
This flags specifies which of the optional settings are valid in this structure. The flags is bitmask combination of pjmedia_aud_dev_cap. 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.
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.
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.
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.
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. Set the audio input route. This setting is optional, and will only be used if PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE is set in the flags. 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. 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.
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. Enable/disable PLC. This setting is optional, and will only be used if PJMEDIA_AUD_DEV_CAP_PLC is set in the flags. Enable/disable CNG. This setting is optional, and will only be used if PJMEDIA_AUD_DEV_CAP_CNG is set in the flags. The documentation for this struct was generated from the following file:
Copyright (C) 2006-2008 Teluu Inc.
| |
|||||||||||||||||||||||||||||||||||||||||||||||||||||