Mercurial > mplayer.hg
annotate libaf/equalizer.h @ 25883:baf32110d3fc
Use defines to give names to the different seek flags.
A better solution should be considered later, esp. for the many
broken demuxers that do not treat these flags correctly.
author | reimar |
---|---|
date | Tue, 29 Jan 2008 15:11:38 +0000 |
parents | 6ac1ece1f9fe |
children | 4129c8cfa742 |
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 | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
13602
diff
changeset
|
11 #ifndef EQUALIZER_H |
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
13602
diff
changeset
|
12 #define EQUALIZER_H |
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
13602
diff
changeset
|
13 |
8077 | 14 /* Equalizer plugin header file defines struct used for setting or |
15 getting the gain of a specific channel and frequency */ | |
16 | |
17 typedef struct equalizer_s | |
18 { | |
19 float gain; // Gain in dB -15 - 15 | |
20 int channel; // Channel number 0 - 5 | |
21 int band; // Frequency band 0 - 9 | |
22 }equalizer_t; | |
23 | |
24 /* The different frequency bands are: | |
25 nr. center frequency | |
26 0 31.25 Hz | |
27 1 62.50 Hz | |
28 2 125.0 Hz | |
29 3 250.0 Hz | |
30 4 500.0 Hz | |
31 5 1.000 kHz | |
32 6 2.000 kHz | |
33 7 4.000 kHz | |
34 8 8.000 kHz | |
35 9 16.00 kHz | |
36 */ | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
13602
diff
changeset
|
37 |
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
13602
diff
changeset
|
38 #endif /* EQUALIZER_H */ |