Copyright © 2001-2011 MultiMedia Soft

GetRatePerc method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the playback rate percentage setting for the given player. The playback rate percentage can be modified calling the SetRatePerc method.

This method doesn't work with sounds with more than 2 channels (5.1 or 7.1) or if the EnableMixingFeatures property has been set to BOOL_FALSE.

 

Further details about songs mixing can be found inside the How to mix your songs section.

 

 

Syntax

 

[Visual Basic]

control.GetRatePerc (

nPlayer as Integer

) as single


 

[C++]

float control.GetRatePerc (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

 

 

Return value

 

The playback rate expressed in percentage.