Mercurial > mplayer.hg
annotate libaf/equalizer.h @ 24515:c5c0cb0e90d2
getch2: Fix incorrect test
Keycode length wasn't checked in one case because of missing
parentheses. This was accidentally broken in my previous commit to the
file. Most likely the error had no practical effect; the length checks
are unreliable in any case as they can be satisfied by unrelated
data corresponding to other keypresses.
author | uau |
---|---|
date | Sat, 15 Sep 2007 18:13:56 +0000 |
parents | 14090f7300a8 |
children | 6ac1ece1f9fe |
rev | line source |
---|---|
8077 | 1 /*============================================================================= |
2 // | |
13602
14090f7300a8
The full name of the GPL is GNU General Public License.
diego
parents:
8077
diff
changeset
|
3 // This software has been released under the terms of the GNU General Public |
8077 | 4 // license. See http://www.gnu.org/copyleft/gpl.html for details. |
5 // | |
6 // Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au | |
7 // | |
8 //============================================================================= | |
9 */ | |
10 | |
11 /* Equalizer plugin header file defines struct used for setting or | |
12 getting the gain of a specific channel and frequency */ | |
13 | |
14 typedef struct equalizer_s | |
15 { | |
16 float gain; // Gain in dB -15 - 15 | |
17 int channel; // Channel number 0 - 5 | |
18 int band; // Frequency band 0 - 9 | |
19 }equalizer_t; | |
20 | |
21 /* The different frequency bands are: | |
22 nr. center frequency | |
23 0 31.25 Hz | |
24 1 62.50 Hz | |
25 2 125.0 Hz | |
26 3 250.0 Hz | |
27 4 500.0 Hz | |
28 5 1.000 kHz | |
29 6 2.000 kHz | |
30 7 4.000 kHz | |
31 8 8.000 kHz | |
32 9 16.00 kHz | |
33 */ |