User Guide
Standard NetLinx API (SNAPI) R 1.8.0
28
Audio Mixer Functions (Cont.)
Name Component Channel Level Command Constant Notes
getOutput(sl,input) ISwitcherComponent ?OUTPUT-
[<sl>,]<input>
Query for the outputs connected to an
input, respond with SWITCH-
L<sl>I<input>O<output>,<output>Ö where
<sl> is ALL, VIDEO, or AUDIO and <out-
put> is 0 if there is no connection. If <sl> is
not supplied, ALL will be assumed.
getSwitcherPreset() ISwitcherComponent ?SWITCHPRESET Query for switcher preset, responds with
SWITCHPRESET-<preset>
saveSwitcherPreset(preset) ISwitcherComponent SWITCHPRESET-
SAVE-<preset>
Save switcher preset where <preset> is 1-x
and x is the maximum supported preset
(see specific module documentation)
setSwitcherPreset(preset) ISwitcherComponent SWITCHPRESET-
<preset>
Recall switcher preset where <preset> is 1-
x and x is the maximum supported preset
(see specific module documentation)
switchInputToOutput(AUDIO,input,output[]) ISwitcherComponent AI<input>O<output,out-
put,Ö>
Switch <input> to one or more <output>s
for switcher level Audio. Use <input> 0 for
disconnect.
switchInputToOutput(ALL,input,output[]) ISwitcherComponent CI<input>O<out-
put,outputÖ>
Switch <input> to one or more <output>s
for switcher level All. Use <input> 0 for dis-
connect.
switchInputToOutput(sl,input,output[]) ISwitcherComponent CL<sl>I<input>O<out-
put,outputÖ>
Switch <input> to one or more <output>s
where <sl> is ALL, VIDEO, or AUDIO.
Use <input> 0 for disconnect.
switchInputToOutput(VIDEO,input,output[]) ISwitcherComponent VI<input>O<output,out-
put,Ö>
Switch <input> to one or more <output>s
for switcher level Video. Use <input> 0 for
disconnect.
processSwitcherPresetEvent(int) ISwitcherComponentListener SWITCHPRESET-
<preset>
Switcher preset changed, where <preset>
is 1-x and x is the maximum supported pre-
set (see specific module documentation)
processSwitchEvent(SwitchLevel,int,int) ISwitcherComponentListener SWITCH-
L<sl>I<input>O<out-
put>
Switch connections changed, where <sl>
is ALL, VIDEO, or AUDIO and <input> is 0
if there is no connection.
cycleVolumeMute() IVolumeComponent 26 VOL_MUTE Momentary Function Channel: Cycle vol-
ume mute when channel is activated
cycleVolumePreset() IVolumeComponent 138 VOL_PRESET Momentary Function Channel: Cycle cam-
era preset when channel is activated
getVolumePreset() IVolumeComponent ?VOLPRESET Query for volume preset, responds with
VOLPRESET-<preset>
saveVolumePreset(preset) IVolumeComponent VOLPRESETSAVE-
<preset>
Save Volume Preset where <preset> is 1 to
x and x is the maximum supported preset
(see specific module documentation)
setVolume(level) IVolumeComponent 1 VOL_LVL Set volume, range is 0-255
setVolumeMuteOn(state) IVolumeComponent 199 VOL_MUTE_ON Discrete Function Channel: Volume mute is
on while channel is active