Copyright © 2008-2015 MultiMedia Soft

LoadSoundChannel method

Previous pageReturn to chapter overviewNext page

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]

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.