Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
types.h
Go to the documentation of this file.
1 /*
2  * types.h
3  * Copyright 2010 John Lindgren
4  *
5  * This file is part of Audacious.
6  *
7  * Audacious is free software: you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License as published by the Free Software
9  * Foundation, version 2 or version 3 of the License.
10  *
11  * Audacious is distributed in the hope that it will be useful, but WITHOUT ANY
12  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13  * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along with
16  * Audacious. If not, see <http://www.gnu.org/licenses/>.
17  *
18  * The Audacious team does not consider modular code linking to Audacious or
19  * using our public API to be a derived work.
20  */
21 
22 #ifndef AUDACIOUS_TYPES_H
23 #define AUDACIOUS_TYPES_H
24 
25 #define AUD_EQUALIZER_NBANDS 10
26 #define EQUALIZER_MAX_GAIN 12
27 
28 enum {
38 
39 typedef struct PluginHandle PluginHandle;
40 
41 typedef const struct _Plugin Plugin;
42 typedef const struct _TransportPlugin TransportPlugin;
43 typedef const struct _PlaylistPlugin PlaylistPlugin;
44 typedef const struct _InputPlugin InputPlugin;
45 typedef const struct _EffectPlugin EffectPlugin;
46 typedef const struct _OutputPlugin OutputPlugin;
47 typedef const struct _VisPlugin VisPlugin;
48 typedef const struct _GeneralPlugin GeneralPlugin;
49 typedef const struct _IfacePlugin IfacePlugin;
50 
51 typedef struct _PluginPreferences PluginPreferences;
52 typedef struct _PreferencesWidget PreferencesWidget;
53 
54 typedef struct {
55  float track_gain; /* dB */
56  float track_peak; /* 0-1 */
57  float album_gain; /* dB */
58  float album_peak; /* 0-1 */
60 
61 #endif