vo_vdpau: add extra check for unknown image format
[mplayer/glamo.git] / libaf / equalizer.h
blob4935401413a3516e9096b9418e230e97b7fbbb14
1 /*
2 * Copyright (C) 2002 Anders Johansson ajh@atri.curtin.edu.au
4 * This file is part of MPlayer.
6 * MPlayer is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * MPlayer is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef MPLAYER_EQUALIZER_H
22 #define MPLAYER_EQUALIZER_H
24 /* Equalizer plugin header file defines struct used for setting or
25 getting the gain of a specific channel and frequency */
27 typedef struct equalizer_s
29 float gain; // Gain in dB -15 - 15
30 int channel; // Channel number 0 - 5
31 int band; // Frequency band 0 - 9
32 }equalizer_t;
34 /* The different frequency bands are:
35 nr. center frequency
36 0 31.25 Hz
37 1 62.50 Hz
38 2 125.0 Hz
39 3 250.0 Hz
40 4 500.0 Hz
41 5 1.000 kHz
42 6 2.000 kHz
43 7 4.000 kHz
44 8 8.000 kHz
45 9 16.00 kHz
48 #endif /* MPLAYER_EQUALIZER_H */