Copyright © 2005-2018 MultiMedia Soft

LoadSoundFromRecordingSession method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a sound recorded by an instance of the Audio Sound Recorder for .NET Winform component or by another instance of the Audio Sound Recorder API for .NET component.

 

A successful call to this method invokes the CallbackForPlayersEvents delegate with the nEvent parameter set to EV_SOUND_LOADED.

 

For further details about the integration between Audio Dj Studio API for .NET and Audio Sound Recorder API for .NET, check the How to load and play sounds recorded by Audio Sound Recorder API 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

The value of the Handle property of an instance of Audio Sound Recorder for .NET or Audio Sound Recorder API for .NET

 

 

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.