libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.GetBitrate Method

Get current bitrate.

Visual Basic
Public Function GetBitrate(ByVal Average As Boolean) As Integer
Parameters 
Description 
ByVal Average As Boolean 
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