Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents  
 
SetForwardRewindGranularity method 
 
Remarks 
 
Sets the new 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. 
 
The actual granularity can be retrieved through the GetForwardRewindGranularity method. 
 
 
Syntax 
 
[Visual Basic] 
Public Function SetForwardRewindGranularity
nPlayerIndex as Int16, 
fGranularity as Single 
 
[C#] 
public enumErrorCodes SetForwardRewindGranularity
Int16 nPlayerIndex, 
float fGranularity 
);
 
[C++] 
public: enumErrorCodes SetForwardRewindGranularity
Int16 nPlayerIndex, 
float fGranularity 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the player that will play the sound interval
fGranularity
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.NOERROR (0)
The method call was successful.
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents