Copyright © 2013-2014 MultiMedia Soft

GetAnalyzedSoundDuration method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the duration of the analyzed sound.

 

 

Syntax

 

[Visual Basic]

control.GetAnalyzedSoundDuration (

nDuration as Long

) as long


 

[C++]

long control.GetAnalyzedSoundDuration (

long *nDuration

);


 

Parameter

Description

 

 

nDuration

Reference that, after returning from the method call, will contain the duration of the analyzed file expressed in milliseconds

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful.