Copyright © 2008-2018 MultiMedia Soft

LoadSoundFromRecordingSession method

Previous pageReturn to chapter overviewNext page



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

You can manage how loaded sound will be added to the existing editing session through a previous call to the SetLoadingMode method.

You can limit the range of sound data that will be loaded from the given sound file with a previous call to the SetLoadingRange 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.


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





[Visual Basic]

Public Function LoadSoundFromRecordingSession (

hWndRecorderCtrl as IntPtr

) as enumErrorCodes



public enumErrorCodes LoadSoundFromRecordingSession (

IntPtr hWndRecorderCtrl




public: enumErrorCodes LoadSoundFromRecordingSession (

IntPtr hWndRecorderCtrl










Window handle to the instance of the Audio Sound Recorder for .NET control. This handle can be accessed through the respective Handle property.



Return value






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.