Copyright © 2008-2018 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]

control.TracksPositionsRangeGet (

nPositionIndex as Long,

nTrackStart as Long,

nTrackEnd as Long,

nTrackDuration as Long

) as enumErrorCodes


 

[C++]

short control.TracksPositionsRangeGet (

long nPositionIndex,

long* nTrackStart,

long* nTrackEnd,

long* 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