Copyright © 2001-2019 MultiMedia Soft

GetMp3StreamTypeLayer method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the MPEG layer 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.GetMp3StreamTypeLayer (

nPlayer as Integer

) as Long


 

[C++]

long control.GetMp3StreamTypeLayer (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

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

 

 

Return value

 

Value

Meaning

 

 

1

MPEG layer 1

2

MPEG layer 2

3

MPEG layer 3

Negative value

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