view src/audacious/equalizer_preset.h @ 4704:3534e9edc168

and of course I forgot to add new files...
author Tomasz Mon <desowin@gmail.com>
date Mon, 07 Jul 2008 14:54:16 +0200
parents
children a33facf19590
line wrap: on
line source

/*  Audacious - Cross-platform multimedia player
 *  Copyright (C) 2005-2008  Audacious team
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; under version 3 of the License.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses>.
 *
 *  The Audacious team does not consider modular code linking to
 *  Audacious or using our public API to be a derived work.
 */

#ifndef AUDACIOUS_EQUALIZER_PRESET_H
#define AUDACIOUS_EQUALIZER_PRESET_H

struct _EqualizerPreset {
    gchar *name;
    gfloat preamp, bands[10];
};

typedef struct _EqualizerPreset EqualizerPreset;

EqualizerPreset * equalizer_preset_new(const gchar * name);
void    equalizer_preset_free(EqualizerPreset * preset);
GList * equalizer_read_presets(const gchar * basename);
void    equalizer_write_preset_file(GList * list, const gchar * basename);
GList * import_winamp_eqf(VFSFile * file);

#endif