Copyright © 2001-2019 MultiMedia Soft

StreamQueueBufferedDataGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the amount of sound data still buffered into the sound stream queue created with the StreamQueueCreate method and fed with the StreamQueuePushData method.

 

 

Syntax

 

[Visual Basic]

control.StreamQueueBufferedDataGet (

nPlayer as Integer,

nDataLength as Long

) as enumErrorCodes


 

[C++]

short control.StreamQueueBufferedDataGet (

short nPlayer,

long *nDataLength

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nDataLength

Reference that, on return from the method call, will contain the amount of buffered sound data expressed in bytes

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.NOERROR (0)

The file has been loaded correctly.