Copyright © 2005-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]

Public Function WmaBitrateGet (

nFrequency as Int32,

nChannels as Int16,

nIndexBitrate as Int16

) as Int32


 

[C#]

public Int32 WmaBitrateGet (

Int32 nFrequency,

Int16 nChannels,

Int16 nIndexBitrate

);


 

[C++]

public: Int32 WmaBitrateGet (

Int32 nFrequency,

Int16 nChannels,

Int16 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