D14128.03—JULY 2009
72
Codec C90
System Integrator Guide
Contents
Introduction
Getting Started
Interfaces
About the API
xConfiguration
xCommand
xStatus
Cameras
Appendices
Contact us
xCommand Audio LocalInput Add
Creates a local input and generates the local input id. A local input is a mix of input connectors with the
following settings: Name, MixerMode, AGC, Mute and Channels. See the Appendix > Dynamic audio API
section.
Name: Choose a name that describes the mix of input connectors.
MixerMode Auto: The microphone with the strongest speaker is active and the others are strongly attenuated.
MixerMode Fixed: The input connector signals are mixed together with equal gains.
MixerMode GainShared: The microphones are given a normalized gain factor relative to the strongest speaker
before being mixed together.
AGC: Automatic Gain Control.
Mute: Mutes the mix of input connectors.
Channels: Set channels to 1 to mix the input connectors into a mono signal. To mix the input connectors into
a stereo signal, set channels to 2.
Parameters: Required parameters are marked with (
r
):
InputId: <0..65534>
Name: <S: 0, 255>
MixerMode: <Auto/Fixed/GainShared>
AGC: <On/Off>
Mute: <On/Off>
Channels: <1..2>
Example:
xCom mand Audio LocalInput Add
OK
*r AudioInputGroupAddResult (status=OK):
InputId: 2
** end
xCommand Audio LocalInput Remove
Removes the local input given by the input ID. See the Appendix > Dynamic audio API section.
Parameters: Required parameters are marked with (
r
):
InputId(
r
): <0..65534>
Example:
xCom mand Audio LocalInput Remove InputID: 2
OK
*r AudioInputGroupRemoveResult (status=OK):
** end
xCommand Audio LocalInput Update
Updates the settings of the local input given by the input ID. See the Appendix > Dynamic audio API section.
Name: Choose a name that describes the mix of input connectors.
MixerMode Auto: The microphone with the strongest speaker is active and the others are strongly attenuated.
MixerMode Fixed: The input connector signals are mixed together with equal gains.
MixerMode GainShared: The microphones are given a normalized gain factor relative to the strongest speaker
before being mixed together.
AGC: Automatic Gain Control.
Mute: Mutes the mix of input connectors.
Channels: Set channels to 1 to mix the input connectors into a mono signal. To mix the input connectors into
a stereo signal, set channels to 2.
Parameters: Required parameters are marked with (
r
):
InputId(
r
): <0..65534>
Name(
r
): <S: 0, 255>
MixerMode(
r
): <Auto/Fixed/GainShared>
AGC(
r
): <On/Off>
Mute(
r
): <On/Off>
Channels(
r
): <1..2>
Example:
xCom mand Audio LocalInput Update InputId: 2 Name: “Microphone” MixerMode:
GainShared AGC: Off Mute: Off Channels: 1
OK
*r AudioInputGroupUpdateResult (status=OK):
** end
xCommand Audio LocalInput AddConnector
Attach an input connector to the local input given by the input ID. A connector is defined by its type and ID.
See the Appendix > Dynamic audio API section.
Parameters: Required parameters are marked with (
r
):
InputId(
r
): <0..65534>
ConnectorType(
r
): <HDMI/Line/Microphone>
ConnectorId(
r
): <1..8>
Example:
xCom mand Audio LocalInput AddConnector InputId: 3 ConnectorType: Line
ConnectorId: 1
OK
*r AudioInputGroupAddConnectorResult (status=OK):
** end
The Audio commands,
cont...
The Audio commands,
cont...
Contents
Introduction
Getting started
Interfaces
About the API
xConfiguration
xCommand
xStatus
Cameras
Appendices
Contact us
xCommand