Copyright © 2013-2017 MultiMedia Soft

PeaksLoad method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads waveform's peaks from a source file previously saved through the PeaksSave method.

 

This method allows a fast retrieval of waveform's peaks without the need to perform a new sound analysis.

 

 

Syntax

 

[Visual Basic]

control.PeaksLoad (

strPathname as String

) as enumWanErrorCodes


 

[C++]

short control.PeaksLoad (

LPCTSTR strPathname

);


 

 

Parameter

Description

 

 

strPathname

String containing the absolute pathname of the source 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.