Mercurial > mplayer.hg
annotate libao2/eq.h @ 9934:89da8ec89558
vf_clone_mpi_attributes()
author | michael |
---|---|
date | Sat, 19 Apr 2003 02:48:53 +0000 |
parents | a2173bfdc133 |
children |
rev | line source |
---|---|
6430 | 1 /*============================================================================= |
2 // | |
3 // This software has been released under the terms of the GNU Public | |
4 // license. See http://www.gnu.org/copyleft/gpl.html for details. | |
5 // | |
6 // Copyright 2001 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 { | |
7507
a2173bfdc133
Correction of spelling errors and removal of old code
anders
parents:
6430
diff
changeset
|
16 float gain; // Gain in dB -15 - 15 |
6430 | 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 */ | |
34 | |
35 #define AOCONTROL_PLUGIN_EQ_SET_GAIN 2 // Use this to set the gain | |
36 #define AOCONTROL_PLUGIN_EQ_GET_GAIN 3 // Use this to get the gain |