Copyright © 2008-2019 MultiMedia Soft

SilencePositionsGetRange method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the position of a specific portion of silence previously detected through the SilencePositionsDetect method. The total number of detected silent portions can be obtained through the SilencePositionsNumGet method.

 

 

Syntax

 

[Visual Basic]

Public Function SilencePositionsGetRange (

nPositionIndex as Int32,

nRangeStart as Int32,

nRangeEnd as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes SilencePositionsGetRange (

Int32 nPositionIndex,

ref Int32 nRangeStart,

ref Int32 nRangeEnd

);


 

[C++]

public: enumErrorCodes SilencePositionsGetRange (

Int32 nPositionIndex,

Int32 __gc *nRangeStart,

Int32 __gc *nRangeEnd

);


 

 

Parameter

Description

 

 

nPositionIndex

Number representing the zero-based index of the portion of silence

nRangeStart

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

nRangeEnd

Reference that, after returning from the method call, will contain the end position, expressed in milliseconds, of the portion of silence

 

 

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