User Guide
29
Standard NetLinx API (SNAPI) R 1.8.0
Audio Mixer Functions (Cont.)
Name Component Channel Level Command Constant Notes
setVolumePreset(preset) IVolumeComponent VOLPRESET-<preset> Recall volume preset where <preset> is 1
to x and x is the maximum supported pre-
set (see specific module documentation)
setVolumeRamp(UP) IVolumeComponent 24 VOL_UP Ramping Channel: Volume is ramped up
while channel is active
setVolumeRamp(DOWN) IVolumeComponent 25 VOL_DN Ramping Channel: Volume is ramped
down while channel is active
processVolumeEvent(int) IVolumeComponentListener 1 VOL_LVL Volume changed, range is 0-255
processVolumeMuteEvent(boolean) IVolumeComponentListener 199 VOL_MUTE_FB Feedback Channel: Volume is muted if
channel is on
processVolumePresetEvent(int) IVolumeComponentListener VOLPRESET-<preset> Volume preset changed, where <preset> is
1-x and x is the maximum supported preset
(see specific module documentation)
processVolumeRampEvent(UP) IVolumeComponentListener 24 VOL_UP_FB Feedback Channel: Volume is ramping up
while channel is on
processVolumeRampEvent(DOWN) IVolumeComponentListener 25 VOL_DN_FB Feedback Channel: Volume is ramping
down while channel is on