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.
During the execution of the loading session the CallbackPercentage delegate is invoked, with the nOperation parameter set to OPERATION_SOUND_LOADING, in order to notify about the percentage of advancement of the loading session.
Syntax
[Visual Basic]
Public Function LoadSoundChannel (
strZPathname as String,
nChannel as Int16
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes LoadSoundChannel (
string strPathname,
Int16 nChannel
);
|
|
[C++]
public: enumErrorCodes LoadSoundChannel (
string strPathname,
Int16 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 last error.
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|
|