Copyright © 2001-2018 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]

control.GetMp3BitrateType (

nPlayer as Integer

) as enumMp3BitrateTypes


 

[C++]

short control.GetMp3BitrateType (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

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)