Copyright © 2006-2018 MultiMedia Soft

RecordedSound.Play method

Previous pageReturn to chapter overviewNext page

Remarks

 

Plays the last recorded sound: if sound data resulting from a recording session has been stored in memory, this method will start a playback session using recorded sound data in memory; if sound data have been stored into a disk file, this method will load and will automatically play the file.

 

A playback session can be paused through the RecordedSound.Pause method and stopped through the RecordedSound.Stop method.

 

A successful call to this method will fire the SoundPlaybackPlaying event. Once the playback session has been performed completely, the control will fire the SoundPlaybackDone event.

 

For further details about recorded sound methods refer to the RecordedSound class section.

For further details see the How to perform a recording session section.

 

 

Syntax

 

[Visual Basic]

Public Function Play (

) as enumErrorCodes


 

[C#]

public enumErrorCodes Play (

);


 

[C++]

public: enumErrorCodes Play (

);


 

 

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.