annotate src/audlegacy/equalizer_preset.h @ 4877:ab60d53dd965

Use g_filename_to_uri on command line items that do not contain "://" (bug #51)
author John Lindgren <john.lindgren@tds.net>
date Fri, 01 May 2009 19:35:44 -0400
parents 7bf7f83a217e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4704
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
1 /* Audacious - Cross-platform multimedia player
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
2 * Copyright (C) 2005-2008 Audacious team
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
3 *
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
4 * This program is free software; you can redistribute it and/or modify
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
6 * the Free Software Foundation; under version 3 of the License.
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
7 *
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
8 * This program is distributed in the hope that it will be useful,
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
11 * GNU General Public License for more details.
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
12 *
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
13 * You should have received a copy of the GNU General Public License
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
14 * along with this program. If not, see <http://www.gnu.org/licenses>.
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
15 *
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
16 * The Audacious team does not consider modular code linking to
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
17 * Audacious or using our public API to be a derived work.
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
18 */
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
19
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
20 #ifndef AUDACIOUS_EQUALIZER_PRESET_H
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
21 #define AUDACIOUS_EQUALIZER_PRESET_H
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
22
4811
7bf7f83a217e rename src/audacious src/audlegacy so that both audlegacy and audacious can coexist.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 4711
diff changeset
23 #include "audlegacy/rcfile.h"
4711
a33facf19590 more work on seperating presets from legacy ui
Tomasz Mon <desowin@gmail.com>
parents: 4704
diff changeset
24
4704
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
25 struct _EqualizerPreset {
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
26 gchar *name;
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
27 gfloat preamp, bands[10];
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
28 };
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
29
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
30 typedef struct _EqualizerPreset EqualizerPreset;
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
31
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
32 EqualizerPreset * equalizer_preset_new(const gchar * name);
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
33 void equalizer_preset_free(EqualizerPreset * preset);
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
34 GList * equalizer_read_presets(const gchar * basename);
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
35 void equalizer_write_preset_file(GList * list, const gchar * basename);
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
36 GList * import_winamp_eqf(VFSFile * file);
4711
a33facf19590 more work on seperating presets from legacy ui
Tomasz Mon <desowin@gmail.com>
parents: 4704
diff changeset
37 void save_preset_file(EqualizerPreset *preset, const gchar * filename);
a33facf19590 more work on seperating presets from legacy ui
Tomasz Mon <desowin@gmail.com>
parents: 4704
diff changeset
38
a33facf19590 more work on seperating presets from legacy ui
Tomasz Mon <desowin@gmail.com>
parents: 4704
diff changeset
39 EqualizerPreset * equalizer_read_aud_preset(const gchar * filename);
a33facf19590 more work on seperating presets from legacy ui
Tomasz Mon <desowin@gmail.com>
parents: 4704
diff changeset
40 EqualizerPreset * load_preset_file(const gchar *filename);
4704
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
41
3534e9edc168 and of course I forgot to add new files...
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
42 #endif