-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrtvumeter.~h
35 lines (30 loc) · 924 Bytes
/
grtvumeter.~h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//---------------------------------------------------------------------------
#ifndef grtvumeterH
#define grtvumeterH
#include "controls.hpp"
#include "graphics.hpp"
class VUMeter : public TWinControl
{
public:
TControlCanvas *Canvas;
int pgl, pgr, opgl, opgr;
int imax;
int showkind;
int logaritmic;
float uspeed, dspeed;
double leftdata, rightdata;
int dbstep;
int mindb;
int bitpersample;
int lpeak, rpeak;
int peaktime;
bool horizontal;
__fastcall VUMeter(TComponent *ow);
__fastcall Refresh();
__fastcall SetLEDs(int left, int right);
__fastcall SetDATA(int left, int right);
__fastcall Free();
void __fastcall WndProc(TMessage &Message);
};
//---------------------------------------------------------------------------
#endif