Copyright © 2005-2018 MultiMedia Soft

LrcNotifTimingsSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the current timings for lyrics notification events. Current timings can be obtained through the LrcNotifTimingsGet method.

 

See the How to manage lyrics coming from LRC files section for further details about LRC files.

 

 

Syntax

 

[Visual Basic]

Public Function LrcNotifTimingsSet (

nAdvanceTimeFullLine as Int32,

nRealTimeCompensation as Int32

) as string


 

[C#]

public string LrcNotifTimingsSet (

Int32 nAdvanceTimeFullLine,

Int32 nRealTimeCompensation

);


 

[C++]

public: string LrcNotifTimingsSet (

Int32 nAdvanceTimeFullLine,

Int32 nRealTimeCompensation

);


 

 

Parameter

Description

 

 

nAdvanceTimeFullLine

The advance time, expressed in milliseconds, used to invoke the CallbackForPlayersEvents delegate with the nEvent parameter set to EV_LRC_ADVANCETIME_FULL_LINE

nRealTimeCompensation

The time compensation, expressed in milliseconds, used to invoke the CallbackForPlayersEvents delegate with the nEvent parameter set to EV_LRC_REALTIME_FULL_LINE and EV_LRC_REALTIME_PORTION_LINE.

 

Return value

 

Value

Meaning

 

 

Empty string

The line was empty or an error occurred (see the LastError property for further error details)

Valid string

String containing the line of text