Copyright © 2001-2016 MultiMedia Soft

SetForwardRewindGranularity method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the new granularity for the forward and rewind operations of the current loaded sound or video clip: the passed 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]

control.SetForwardRewindGranularity (

nPlayer as Integer,

fGranularity as single

) as enumErrorCodes


 

[C++]

short control.SetForwardRewindGranularity (

short nPlayer,

float fGranularity

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

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.ERR_NOERROR (0)

The method call was successful