Copyright © 2001-2019 MultiMedia Soft

PauseSound method

Previous pageReturn to chapter overviewNext page

Remarks

 

Pauses a playing song. 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.Pause method.

 

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

 

 

Syntax

 

[Visual Basic]

control.PauseSound (

nPlayer as Integer

) as enumErrorCodes


 

[C++]

short control.PauseSound (

short nPlayer

);


 

Parameter

Description

 

 

nPlayer

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 call was successful.