Copyright © 2005-2019 MultiMedia Soft

LoadSoundFromRecordingSession method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a sound recorded by the given instance of Audio Sound Recorder for .NET.

 

A successful call to this method will fire the SoundLoaded event.

 

For further details about the integration between Audio DJ Studio for .NET and Audio Sound Recorder for .NET, check the How to load and play sounds recorded by Audio Sound Recorder section.

 

 

Syntax

 

[Visual Basic]

Public Function LoadSoundFromRecordingSession (

nPlayerIndex as Int16,

hWndRecorderCtrl as IntPtr

) as enumErrorCodes


 

[C#]

public enumErrorCodes LoadSoundFromRecordingSession (

Int16 nPlayerIndex,

IntPtr hWndRecorderCtrl,

);


 

[C++]

public: enumErrorCodes LoadSoundFromRecordingSession (

Int16 nPlayerIndex,

IntPtr hWndRecorderCtrl,

);


 

 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

hWndRecorderCtrl

Window handle to the instance of the Audio Sound Recorder for .NET control

 

 

Return value

 

Value

Meaning

 

 

enumErrorCodes.NOERROR (0)

The song file has been loaded successfully.

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.