DAC2_SetFXLight


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

BOOL WINAPI DAC2_SetFXLight(
    int nDeckID,

    BOOL bOn
);

Parameters

nDeckID

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

bOn

Turn fx light on or off.

 

 

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 fx light on or off at anytime.

Example
Turn on the fx light.

//Set fx light on for DeckA

DAC2_SetFXLight(0, TRUE);

//Set fx light on for DeckB

DAC2_SetFXLight(1, TRUE);

See also
 DAC2_Init