Get equalizer points of frequency bands.
function GetEqualizerPoints(out FreqPointArray: TDynamicIntegerArray): Integer;
Parameters |
Description |
out FreqPointArray: TDynamicIntegerArray |
Reference to array of integers receiving frequency points for frequancy bands. You have frequency range from 0 Hz to SampleRate/2 Hz. One point will divide range into 2 bands, 2 points will divide range into 3 bands ... Caution: Function will resize this array to number of frequancy points. |
Number of frequency points.
New instance of interface has 10 default equalizer bands.
int FreqPoint[9] = {115, 240, 455, 800, 2000, 4500, 9000, 13000, 15000};
var I: Integer; J: Integer; Eq1: TDynamicIntegerArray; begin J := player.GetEqualizerPoints(Eq1); for I := 0 to J - 1 do begin MessageBox(0, PAnsiChar(IntToStr(Eq1[I])), 0, 0); end; end;
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |