libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay::GetDynamicStreamLoad Method

Get dynamic stream load.

C++
virtual __stdcall void GetDynamicStreamLoad(TStreamLoadInfo * pStreamLoadInfo) = 0;
Parameters 
Description 
TStreamLoadInfo * pStreamLoadInfo 
Pointer to TStreamLoadInfo structure receiving informations about stream load. User must allocate memory for this structure. 

None.

Use this function to to check if stream is low with data, so you can push more data into stream.

ZPlay C++ Class interface

TStreamLoadInfo sload;
if(instance->GetManagedStreamLoad(&sload))
  printf("Buffers: %u, bytes: %u\n", sload.NumberOfBuffers, sload.NumberOfBytes);

 

C Style interface

TStreamLoadInfo sload;
if(zplay_GetManagedStreamLoad(instance, &sload))
  printf("Buffers: %u, bytes: %u\n", sload.NumberOfBuffers, sload.NumberOfBytes);
Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr