Copyright © 2005-2018 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]

Public Function StreamQueueBufferedDataGet (

nPlayerIndex as Int16,

ByRef nDataLength as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes StreamQueueBufferedDataGet (

Int16 nPlayerIndex,

ref Int32 nDataLength

);


 

[C++]

public: enumErrorCodes StreamQueueBufferedDataGet (

Int16 nPlayerIndex,

Int32 __gc *nDataLength

);


 

 

 

Parameter

Description

 

 

nPlayerIndex

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