Set equalizer band gain.
__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 |
1 |
All OK. |
0 |
Error. To get error message read here. |
Note: Band gain is expressed in millidecibels.
Class has by default 10 equalizer bands. See SetEqualizerPoints.
GetEqualizerBandGain, SetEqualizerPoints, GetEqualizerPoints, SetEqualizerParam, GetEqualizerParam, SetEqualizerPreampGain, GetEqualizerPreampGain, EnableEqualizer
zplay_GetEqualizerBandGain, zplay_SetEqualizerPoints, zplay_GetEqualizerPoints, zplay_SetEqualizerParam, zplay_GetEqualizerParam, zplay_SetEqualizerPreampGain, zplay_GetEqualizerPreampGain, zplay_EnableEqualizer
Raise gain of first band for 2 decibels.
instance->SetEqualizerBandGain(0, 2000);
zplay_SetEqualizerBandGain(instance, 0, 2000);
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |