Copyright © 2005-2019 MultiMedia Soft

GetForwardRewindGranularity method

Previous pageReturn to chapter overviewNext page

Remarks

 

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

Public Function GetForwardRewindGranularity (

nPlayerIndex as Int16,

ByRef fGranularity as Single

) as enumErrorCodes


 

[C#]

public enumErrorCodes GetForwardRewindGranularity (

Int16 nPlayerIndex,

ref float fGranularity

);


 

[C++]

public: enumErrorCodes GetForwardRewindGranularity (

Int16 nPlayerIndex,

float __gc *fGranularity

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

fGranularity

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

The method call was successful.