Effects.PlaybackTempoGet method |
|
Remarks
Retrieves the current Tempo percentage for the given player. The Tempo percentage can be modified calling the Effects.PlaybackTempoSet 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.
See the How to apply special effects to a playing sound section for further details.
Syntax
[Visual Basic] control.Effects.PlaybackTempoGet ( nPlayer as Integer, fTempoPerc as single ) as enumErrorCodes |
[C++] short control.Effects.PlaybackTempoGet ( short nPlayer, float *fTempoPerc ); |
Parameter |
Description |
|
|
nPlayer |
Number representing the zero-based index of the involved player |
fTempoPerc |
Reference that, on return from the method call, will contain the Tempo 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. |