Copyright © 2005-2011 MultiMedia Soft

PlaySoundDisableLoop method

Previous pageReturn to chapter overviewNext page

Remarks

 

Disables an eventual loop, set by a previous call to the PlaySound method, without stopping the current playback.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function PlaySoundDisableLoop (

nPlayerIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes PlaySoundDisableLoop (

Int16 nPlayerIndex

);


 

[C++]

public: enumErrorCodes PlaySoundDisableLoop (

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.