DAC2_DeckA_SetTime


Sets the time remaining/elapsed on the DAC-2.

BOOL WINAPI DAC2_DeckA_SetTime(
    int nMinutes,

    int nSeconds,

    int nHundredths
);

Parameters

nMinutes

 

 

The number to display for the minutes.

–1 sets them to blank

–2 sets them to – –

nSeconds

 

 

 The number to display for the seconds.

–1 sets them to blank

–2 sets them to – –

nHundredths

 

 The number to display for the hundredths of second left.

–1 sets them to blank

–2 sets them to – –

 

 

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 use this to display the elapsed or remaining time in the current track.

Example
Set the time to 03:24:43.

DAC2_DeckA_SetColons(TRUE);

DAC2_DeckA_SetTime(3,24,43);

See also
 DAC2_Init