Copyright © 2008-2019 MultiMedia Soft

TracksPositionsRangeGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the position of a specific audible track previously detected through the TracksPositionsDetect method. The total number of detected audible tracks can be obtained through the TracksPositionsNumGet method.

 

 

Syntax

 

[Visual Basic]

Public Function TracksPositionsRangeGet (

nPositionIndex as Int32,

nTrackStart as Int32,

nTrackEnd as Int32,

nTrackDuration as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes TracksPositionsRangeGet (

Int32 nPositionIndex,

ref Int32 nTrackStart,

ref Int32 nTrackEnd,

ref Int32 nTrackDuration

);


 

[C++]

public: enumErrorCodes TracksPositionsRangeGet (

Int32 nPositionIndex,

Int32 __gc *nTrackStart,

Int32 __gc *nTrackEnd,

Int32 __gc *nTrackDuration

);


 

 

Parameter

Description

 

 

nPositionIndex

Number representing the zero-based index of the audible track.

nTrackStart

Reference that, after returning from the method call, will contain the start position, expressed in milliseconds, of the audible track.

nTrackEnd

Reference that, after returning from the method call, will contain the end position, expressed in milliseconds, of the audible track.

nTrackDuration

Reference that, after returning from the method call, will contain the duration, expressed in milliseconds, of the audible track.

 

 

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