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 #define AUD_EQUALIZER_NBANDS 10 00026 #define EQUALIZER_MAX_GAIN 12 00027 00028 enum { 00029 PLUGIN_TYPE_TRANSPORT, 00030 PLUGIN_TYPE_PLAYLIST, 00031 PLUGIN_TYPE_INPUT, 00032 PLUGIN_TYPE_EFFECT, 00033 PLUGIN_TYPE_OUTPUT, 00034 PLUGIN_TYPE_VIS, 00035 PLUGIN_TYPE_GENERAL, 00036 PLUGIN_TYPE_IFACE, 00037 PLUGIN_TYPES}; 00038 00039 typedef struct PluginHandle PluginHandle; 00040 00041 typedef const struct _Plugin Plugin; 00042 typedef const struct _TransportPlugin TransportPlugin; 00043 typedef const struct _PlaylistPlugin PlaylistPlugin; 00044 typedef const struct _InputPlugin InputPlugin; 00045 typedef const struct _EffectPlugin EffectPlugin; 00046 typedef const struct _OutputPlugin OutputPlugin; 00047 typedef const struct _VisPlugin VisPlugin; 00048 typedef const struct _GeneralPlugin GeneralPlugin; 00049 typedef const struct _IfacePlugin IfacePlugin; 00050 00051 typedef struct _PluginPreferences PluginPreferences; 00052 typedef struct _PreferencesWidget PreferencesWidget; 00053 00054 typedef struct { 00055 float track_gain; /* dB */ 00056 float track_peak; /* 0-1 */ 00057 float album_gain; /* dB */ 00058 float album_peak; /* 0-1 */ 00059 } ReplayGainInfo; 00060 00061 #endif