Copyright © 2001-2019 MultiMedia Soft

GetPlayerStatus method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the given player working status.

 

 

Syntax

 

[Visual Basic]

control.GetPlayerStatus (

nPlayer as Integer

) as enumStates


 

[C++]

short control.GetPlayerStatus (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

 

 

Return value

 

Mnemonic Value

Numeric value

Meaning

ERR_xxx

Negative

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

SOUND_NONE

0

The player is in a undetermined status (no sound has been loaded)

SOUND_PLAYING

1

The player is playing the loaded sound

SOUND_PAUSED

2

The player has been paused

SOUND_STOPPED

3

The player has been stopped

SOUND_BUFFERING

4

The player is buffering an Internet stream

SOUND_STREAM_QUEUE_STALLED

5

Playback of a queued sound stream created through the StreamQueueCreate method doesn't have enough data to play and has been stalled