Copyright © 2001-2019 MultiMedia Soft

GetMp3Frames method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the number of frames for the song currently loaded into the specified player.

 

The availability of this information requires a prior call to the ReadSoundInfo method.

 

 

Syntax

 

[Visual Basic]

control.GetMp3Frames (

nPlayer as Integer

) as Long


 

[C++]

long control.GetMp3Frames (

short nPlayer

);


 

 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player whose information must be retrieved

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

Value >= 0

The number of frames