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

Set equalizer band gain.

C++
virtual __stdcall int SetEqualizerBandGain(int nBandIndex, int nGain) = 0;
Parameters 
Description 
int nBandIndex 
Band index, zero based. First band has index 0, second 1, ... 
int nGain 
Band gain in millidecibels. Positive value boost gain, negative value lower gain, 0 is neutral. 
Return Values 
Description 
All OK. 
Error. To get error message read here

Note: Band gain is expressed in millidecibels. 

Class has by default 10 equalizer bands. See SetEqualizerPoints.

Raise gain of first band for 2 decibels. 

ZPlay C++ Class interface  

instance->SetEqualizerBandGain(0, 2000);

 

C Style interface

zplay_SetEqualizerBandGain(instance, 0, 2000);
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr