DAC2_SetCueLight


Turn cue light on or off on the DAC-2.

BOOL WINAPI DAC2_SetCueLight(

    int nDeckID,
    int nState
);

Parameters

nDeckID

The ID that specifies either DeckA – 0 or DeckB - 1.

nState

0=off   1=on  2=flash

 

 

Return value
If successful, then TRUE is returned, else FALSE is returned. Use DAC2_ErrorGetCode to get the error code.

Error codes

DAC2_ERROR_INIT

 The DAC-2 has not been initialized.

Remarks
You can turn the cue light on or off at anytime.

Example
Turn on the cue light.

//turn cuelight on for DeckA

DAC2_SetCueLight(0, 1);

// turn cuelight on for DeckB

DAC2_ SetCueLight (1, 1);

See also
 DAC2_Init