libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.SetPlayerVolume Method

Set internal volume.

Visual Basic
Public Function SetPlayerVolume(ByVal LeftVolume As Integer, ByVal RightVolume As Integer) As Boolean
Parameters 
Description 
ByVal LeftVolume As Integer 
Specifies volume for left channel. Volume range is from 0 to 100. 
ByVal RightVolume As Integer 
Specifies volume for right channel. Volume range is from 0 to 100. 
Return Values 
Description 
True 
All OK. 
False 
Error. To get error message read here

This function changes internal volume without affecting wave out device driver and computer master volume. You can set internal volume on each interface instance separately. 

Note: This function will cancel slide volume effect

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

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

Email: zcindori@inet.hr