SilencePositionsGetRange method |
|
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] control.SilencePositionsGetRange ( nPositionIndex as Long, nRangeStart as Long, nRangeEnd as Long ) as enumErrorCodes |
[C++] short control.SilencePositionsGetRange ( long nPositionIndex, long* nRangeStart, long* 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 |