Copyright © 2001-2019 MultiMedia Soft

GetWmaCodecString method

Previous pageReturn to chapter overviewNext page

Remarks

 

If the loaded sound has been encoded in WMA format, retrieves a string containing the friendly name of the WMA codec used for encoding the file.

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

 

 

Syntax

 

[Visual Basic]

control.GetWmaCodecString (

nPlayer as Integer

) as String


 

[C++]

LPCTSTR control.GetWmaCodecString (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

 

 

Return value

 

Value

Meaning

 

 

Empty string

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

Valid string

The requested string