DAC2_DeckB_SetProgress


Sets progress display on the DAC-2.

BOOL WINAPI DAC2_DeckB_SetProgress(
    int nPercent
);

Parameters

nPercent

The percent to display the progress 0-100.

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
This can be used to show the progress of the currently loaded track.

Example
Set the progress to 50%.

DAC2_DeckB_SetProgress(50);

See also
 DAC2_Init