|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.Waveform.PeaksSave (
nPlayer as Integer,
strPathname as String
) as enumErrorCodes
|
|
[C++]
short control.Waveform.PeaksSave (
short nPlayer,
LPCTSTR strPathname
);
|
|
Parameter
|
Description
|
|
|
|
|
nPlayer
|
Number representing the zero-based index of the player that will use the Waveform
|
|
strPathname
|
Absolute pathname of the destination file, usually with .PKW extension.
If this pathname should be left empty, the control would automatically save peaks into the same path of the loaded and analyzed sound file changing the extension of the file name in .PKW. If for example the loaded sound file should be named MySong.mp3, the corresponding PKW file would be named MySong.pkw
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred, check the LastError property value in order to get the error code
|
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful
|