Copyright © 2005-2019 MultiMedia Soft

ResumeSound method

Previous pageReturn to chapter overviewNext page

Remarks

 

Resumes a paused sound. If the sound is not paused, the call is ignored. In case the given player should have been loaded with a video clip, the call to this method would have the same effect of the VideoPlayer.Resume method.

 

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

 

Syntax

 

[Visual Basic]

Public Function ResumeSound (

nPlayerIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes ResumeSound (

Int16 nPlayerIndex

);


 

[C++]

public: enumErrorCodes ResumeSound (

Int16 nPlayerIndex

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.