Copyright © 2005-2019 MultiMedia Soft

PlaySoundDisableLoop method

Previous pageReturn to chapter overviewNext page

Remarks

 

Disables an eventual loop, set by a previous call to PlaySoundLoop or PlaySoundEnableLoop methods, without stopping the current playback: playback will terminate when reaching the eventual end of the range established by the call to the PlaySoundRangeLoop or PlaySoundEnableLoop methods.

The loop can be also disabled by calling the PlaySound method: in this case the sound will continue playing without interruption until reaching the end of the sound file

 

 

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.