User Guide

75
Standard NetLinx API (SNAPI) R 1.8.0
Digital Media Server Functions (Cont.)
Name Component Channel Level Command Constant Notes
processDiscTransportEvent(SLOW_FWD) IDiscTransportComponentListener 249 SLOW_FWD_FB Feedback Channel: Transport state change
(see chart below)
processDiscTransportEvent(SLOW_REV) IDiscTransportComponentListener 250 SLOW_REV_FB Feedback Channel: Transport state change
(see chart below)
processTrackCounterEvent(MediaTime) IDiscTransportComponentListener TRACKCOUNTER-
<counter>
Track counter changed, where <counter>
is a String in the format [-]hh:mm:ss.ff
processTrackInfoEvent(TrackInfo) IDiscTransportComponentListener TRACKINFO-
<num>,<dura-
tion>,<discNumber>
Track info changed, where <num> is track
number, <duration> is a track duration
String in the format [-]hh:mm:ss.ff and <dis-
cNumber> is the dusc number the track
belongs to.
processTrackPropertiesEvent(Properties) IDiscTransportComponentListener TRACKPROP-
<key>,<value>
Track properties query response, responds
with multiple TRACKPROP-<key>,<value>
commands, one for each key
cycleGainMute() IGainComponent 144 GAIN_MUTE Momentary Function Channel: Cycle gain
mute when channel is activated
setGain(level) IGainComponent 5 GAIN_LVL Set gain, range is 0-255
setGainMuteOn(state) IGainComponent 143 GAIN_MUTE_ON Discrete Function Channel: Gain mute is
on while channel is active
setGainRamp(UP) IGainComponent 140 GAIN_UP Ramping Channel: Gain is ramped up while
channel is active
setGainRamp(DOWN) IGainComponent 141 GAIN_DN Ramping Channel: Gain is ramped down
while channel is active
processGainEvent(int) IGainComponentListener 5 GAIN_LVL Gain changed, range is 0-255
processGainMuteEvent(boolean) IGainComponentListener 143 GAIN_MUTE_FB Feedback Channel: Gain is muted if chan-
nel is on
processGainRampEvent(UP) IGainComponentListener 140 GAIN_UP_FB Feedback Channel: Gain is ramping up
while channel is on
processGainRampEvent(DOWN) IGainComponentListener 141 GAIN_DN_FB Feedback Channel: Gain is ramping down
while channel is on
closeSearchDB(searchHandle) IMediaDBComponent MEDIADBCLOS-
ESEARCH-<key>
Close the search associated with search
key = <key>
deleteRecord(recordID) IMediaDBComponent MEDIADBDELETE-
<id>
Delete media record with record id of <id>