annotate libaf/equalizer.h @ 36214:fc128e175f72

Fully uninitialize EGL. Unfortunately that doesn't seem to help against the insane number of memory leaks reported inside MESA EGL by valgrind.
author reimar
date Sun, 09 Jun 2013 10:13:08 +0000
parents 0f1b5b68af32
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28229
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
1 /*
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
2 * Copyright (C) 2002 Anders Johansson ajh@atri.curtin.edu.au
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
3 *
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
4 * This file is part of MPlayer.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
5 *
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
6 * MPlayer is free software; you can redistribute it and/or modify
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
7 * it under the terms of the GNU General Public License as published by
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
9 * (at your option) any later version.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
10 *
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
11 * MPlayer is distributed in the hope that it will be useful,
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
14 * GNU General Public License for more details.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
15 *
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
16 * You should have received a copy of the GNU General Public License along
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
19 */
8077
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
20
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
21 #ifndef MPLAYER_EQUALIZER_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
22 #define MPLAYER_EQUALIZER_H
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 13602
diff changeset
23
8077
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
24 /* Equalizer plugin header file defines struct used for setting or
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
25 getting the gain of a specific channel and frequency */
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
26
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
27 typedef struct equalizer_s
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
28 {
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28229
diff changeset
29 float gain; // Gain in dB -15 - 15
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28229
diff changeset
30 int channel; // Channel number 0 - 5
8077
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
31 int band; // Frequency band 0 - 9
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
32 }equalizer_t;
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
33
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
34 /* The different frequency bands are:
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
35 nr. center frequency
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
36 0 31.25 Hz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
37 1 62.50 Hz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
38 2 125.0 Hz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
39 3 250.0 Hz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
40 4 500.0 Hz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
41 5 1.000 kHz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
42 6 2.000 kHz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
43 7 4.000 kHz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
44 8 8.000 kHz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
45 9 16.00 kHz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
46 */
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 13602
diff changeset
47
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
48 #endif /* MPLAYER_EQUALIZER_H */