Copyright © 2005-2018 MultiMedia Soft

SoundLoaded event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a song is loaded in memory from a file.

 

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

 

 

Syntax

 

[Visual Basic]

Public Event SoundLoaded As SoundLoadedEventHandler


 

[C#]

public event SoundLoadedEventHandler SoundLoaded;


 

[C++]

public: __event SoundLoadedEventHandler SoundLoaded;


 

 

Event Data

 

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

 

Parameters

Description

 

 

nPlayerIndex

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

nItemIndex

Number representing the zero-based index of the song in the player playlist; if the song is not inserted into a playlist it's always set to 0