Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
00001 /* 00002 * types.h 00003 * Copyright 2010 John Lindgren 00004 * 00005 * This file is part of Audacious. 00006 * 00007 * Audacious is free software: you can redistribute it and/or modify it under 00008 * the terms of the GNU General Public License as published by the Free Software 00009 * Foundation, version 2 or version 3 of the License. 00010 * 00011 * Audacious is distributed in the hope that it will be useful, but WITHOUT ANY 00012 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 00013 * A PARTICULAR PURPOSE. See the GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along with 00016 * Audacious. If not, see <http://www.gnu.org/licenses/>. 00017 * 00018 * The Audacious team does not consider modular code linking to Audacious or 00019 * using our public API to be a derived work. 00020 */ 00021 00022 #ifndef AUDACIOUS_TYPES_H 00023 #define AUDACIOUS_TYPES_H 00024 00025 #include <glib.h> 00026 00027 #define AUD_EQUALIZER_NBANDS 10 00028 #define EQUALIZER_MAX_GAIN 12 00029 00030 typedef struct PluginHandle PluginHandle; 00031 00032 #ifdef _AUDACIOUS_CORE 00033 typedef const struct _Plugin Plugin; 00034 #endif 00035 00036 typedef const struct _InputPlugin InputPlugin; 00037 typedef const struct _OutputPlugin OutputPlugin; 00038 typedef const struct _EffectPlugin EffectPlugin; 00039 typedef const struct _GeneralPlugin GeneralPlugin; 00040 typedef const struct _VisPlugin VisPlugin; 00041 typedef const struct _TransportPlugin TransportPlugin; 00042 typedef const struct _PlaylistPlugin PlaylistPlugin; 00043 00044 typedef struct _Iface Iface; 00045 typedef struct _PluginPreferences PluginPreferences; 00046 typedef struct _PreferencesWidget PreferencesWidget; 00047 00048 typedef struct { 00049 gfloat track_gain; /* dB */ 00050 gfloat track_peak; /* 0-1 */ 00051 gfloat album_gain; /* dB */ 00052 gfloat album_peak; /* 0-1 */ 00053 } ReplayGainInfo; 00054 00055 #endif