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

Get current bitrate.

C++
int GetBitrate(bool Average);
Parameters 
Description 
bool Average 
If this value is true, average bitrate is returned. If this value is false, real bitrate is returned. 

Bitrate in kbps (kilo bit per second).

On CBR (constant bitrate) streams this value is constant all the time. On VBR (variable bitrate) this value represents bitrate of currently decoded data frame. 

Note: If you need bitrate of whole file or stream, use GetStreamInfo function and TStreamInfo.Bitrate

Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr