AnalyzeSoundFromFileRangeSet method |
|
Remarks
Defines the effective sound range that will be analyzed through the AnalyzeSoundFromFile and AnalyzeSoundFromFileRaw methods.
Syntax
[Visual Basic] Public Function AnalyzeSoundFromFileRangeSet ( nStartPositionInMs as Int32, nEndPositionInMs as Int32 ) as enumWanErrorCodes |
[C#] public enumWanErrorCodes AnalyzeSoundFromFileRangeSet ( Int32 nStartPositionInMs, Int32 nEndPositionInMs ); |
[C++] public: enumWanErrorCodes AnalyzeSoundFromFileRangeSet ( Int32 nStartPositionInMs, Int32 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. |