Copyright © 2001-2018 MultiMedia Soft

WmaBitrateGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Given a zero-based index, obtains a specific bitrate for WMA casting supported by a certain frequency and number of channels.

The total number of bitrates available for WMA casting can be obtained through the WmaBitrateCount method.

 

Further information about management of casting sessions can be found inside the How to use the control as a source for streaming servers like SHOUTcast tutorial.

 

 

Syntax

 

[Visual Basic]

control.WmaBitrateGet (

nFrequency as Long,

nChannels as Integer,

nIndexBitrate as Integer

) as Long


 

[C++]

long control.WmaBitrateGet (

long nFrequency,

short nChannels,

short nIndexBitrate

);


 

 

Parameter

Description

 

 

nFrequency

Frequency expressed in Hertz

nChannels

Number of channels

nIndexBitrate

Zero-based index of the bitrate

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

Value > 0

The requested bitrate