libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.GetVUData Method

Get VU data for left and right channel

Visual Basic
Public Sub GetVUData(ByRef LeftChannel As Integer, ByRef RightChannel As Integer)
Parameters 
Description 
ByRef LeftChannel As Integer 
Reference to variable receiving left channel VU level. Level range is from 0 to 100. 
ByRef RightChannel As Integer 
Reference to variable receiving right channel VU level. Level range is from 0 to 100. 

None.

Use this function to get VU data for your VU meter. Range of VU level data is 0 - 100. 

Note: VU data are fully synchronized with audio data from wave buffer. 

Dim left As Integer = 0
Dim right As Integer = 0
player.GetVUData(left, right)
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr