Copyright © 2005-2018 MultiMedia Soft

LrcRealTimeLinePortion event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when it's time to display in real-time a portion of line of text of the loaded lyrics LRC file in Enhanced format. Timing can be fine tuned through the LrcNotifTimingsSet method.

 

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

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event LrcRealTimeLinePortion As LrcRealTimeLinePortionEventHandler


 

[C#]

public event LrcRealTimeLinePortionEventHandler LrcRealTimeLinePortion;


 

[C++]

public: __event LrcRealTimeLinePortionEventHandler* LrcRealTimeLinePortion;


 

 

Event Data

 

The event handler receives an argument of type LrcRealTimeLinePortionEventArgs having the following parameters:

Parameters

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that fired the event

nItemIndex

The zero based-index of the Enhanced Time Tag

strLine

String containing the Enhanced Time Tag which is a portion of a Line Time Tag

nPosition

Position, expressed in milliseconds, within the song of the Enhanced Time Tag

nDuration

Duration, expressed in milliseconds, of the Enhanced Time Tag