|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.RequestSoundExportToWav (
nPlayer as Integer,
strPathname as String,
nStartPosInMs as Long,
nFinalPosInMs as Long
) as enumErrorCodes
|
|
[C++]
short control.RequestSoundExportToWav (
short nPlayer,
LPCTSTR strPathname,
long nStartPosInMs,
long nFinalPosInMs
);
|
|
Parameter
|
Description
|
|
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the involved player
|
|
strPathname
|
Absolute pathname of the destination file in WAV format: if empty, the destination WAV file will be stored in memory. In this last case the memory buffer contents can be retrieved through the CopyExportedWavToMemory method
|
|
nStartPosInMs
|
Number representing the initial position, expressed in milliseconds, where the export of the loaded sound will begin. This value must be set to 0 in order to export from the sound beginning.
|
|
nFinalPosInMs
|
Number representing the final position, expressed in milliseconds, where the export of the loaded sound will end. This value must be set to -1 in order to export till the sound end.
The difference between nFinalPosInMs and nStartPosInMs must be at least 500 milliseconds: smaller ranges will be automatically adjusted accordingly.
|
|
Value
|
Meaning
|
|
|
|
|
enumErrorCodes.NOERROR (0)
|
The method call was successful.
|
|
Negative value
|
An error occurred: see the LastError property for further error details or for a list of the possible error values.
|