Copyright © 2005-2019 MultiMedia Soft

GetMp3BitrateType method

Previous pageReturn to chapter overviewNext page

Remarks

 

If the sound file loaded inside the given player is in MP3 format, obtains its bitrate type.

 

 

Syntax

 

[Visual Basic]

Public Function GetMp3BitrateType (

nPlayerIndex as Int16

) as enumMp3BitrateTypes


 

[C#]

public enumMp3BitrateTypes GetMp3BitrateType (

Int16 nPlayerIndex

);


 

[C++]

public: enumMp3BitrateTypes GetMp3BitrateType (

Int16 nPlayerIndex

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

 

 

Return value

 

Mnemonic constant

Value

Meaning

 

 

 

ERR_xxx

Negative

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

BITRATE_TYPE_UNKNOWN

0

It wasn't possible determining the type

BITRATE_TYPE_CBR

1

Constant bitrate (CBR)

BITRATE_TYPE_VBR

2

Variable bitrate (VBR)