Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
GetForwardRewindGranularity method 
 
Remarks 
 
Retrieves the actual granularity for the forward and rewind operations of the current loaded sound: the returned value is expressed in the same unit specified by the ScaleUnits property. 
 
A new granularity value can be specified through the SetForwardRewindGranularity method. 
 
 
Syntax 
 
[Visual Basic] 
control.GetForwardRewindGranularity
nPlayer as Integer
fGranularity as single 
 
[C++] 
short control.GetForwardRewindGranularity
short nPlayer
float *fGranularity 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the player that will play the sound interval
fGranularity
Pointer to the granularity value expressed in the same unit specified by the ScaleUnits property.
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.ERR_NOERROR (0)
The method call was successful
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents