libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
libZPlayCpp::zplay_SetEqualizerBandGain Function

Set equalizer band gain.

C++
__stdcall __declspec(dllimport) int zplay_SetEqualizerBandGain(ZPLAY_HANDLE handle, int nBandIndex, int nGain);
Parameters 
Description 
ZPLAY_HANDLE handle 
ZPLAY handle. Get this handle with zplay_CreateZPlay
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