Copyright © 2008-2026 MultiMedia Soft

PlaybackRateGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the current rate percentage of the playback stream. The playback rate percentage can be modified calling the PlaybackRateSet method.

 

Syntax

 

[Visual Basic]

control.PlaybackRateGet (

fRatePerc as single

) as enumErrorCodes


 

[C++]

short control.PlaybackRateGet (

float *fRatePerc

);


 

 

Parameter

Description

 

 

fRatePerc

Reference that, on return from the method call, will contain the Sample Rate variation expressed in percentage; supported values are from -90 to 90.

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The call was successful.