Remarks
Loads a specific audio channel from the sound file pointed by the given pathname for editing purposes.
Supported audio formats are the same available for the LoadSound method.
A successful call to this method will fire the SoundLoadingStarted event followed by a number of SoundLoadingPerc events and finally by the SoundLoadingDone event.
Syntax
[Visual Basic]
control.LoadSoundChannel (
strPathname as String,
nChannel as Integer
) as enumErrorCodes
|
|
[C++]
short control.LoadSoundChannel (
LPCTSTR strPathname,
short nChannel
);
|
|
Parameter
|
Description
|
|
|
strPathname
|
String representing the absolute pathname of the input file.
|
nChannel
|
Number representing the zero-based index of the audio channel to load.
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred, check the LastError property value in order to see the error code meaning
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|
|