Copyright © 2013-2017 MultiMedia Soft

AnalyzeSoundFromFileRangeSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Defines the effective sound range that will be analyzed through the AnalyzeSoundFromFile and AnalyzeSoundFromFileRaw methods.

 

 

Syntax

 

[Visual Basic]

control.AnalyzeSoundFromFileRangeSet (

nStartPositionInMs as Long,

nEndPositionInMs as Long

) as enumWanErrorCodes


 

[C++]

short control.AnalyzeSoundFromFileRangeSet (

long nStartPositionInMs,

long nEndPositionInMs

);


 

 

Parameter

Description

 

 

nStartPositionInMs

Number representing the range's start position expressed in milliseconds.

By default this value is set to 0 which represents the beginning of the audio file.

nEndPositionInMs

Number representing the range's end position expressed in milliseconds.

By default this value is set to -1 which represents the end of the audio file.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful.