Josh Coalson | 412fa3b | 2002-07-11 06:15:30 +0000 | [diff] [blame] | 1 | /* libxmms-flac - XMMS FLAC input plugin |
Josh Coalson | 9564390 | 2004-01-17 04:14:43 +0000 | [diff] [blame] | 2 | * Copyright (C) 2002,2003,2004 Daisuke Shimamura |
Josh Coalson | 412fa3b | 2002-07-11 06:15:30 +0000 | [diff] [blame] | 3 | * |
| 4 | * Based on mpg123 plugin |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License |
| 8 | * as published by the Free Software Foundation; either version 2 |
| 9 | * of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 19 | */ |
| 20 | |
| 21 | #ifndef __CONFIGURE_H__ |
| 22 | #define __CONFIGURE_H__ |
| 23 | |
| 24 | #include <glib.h> |
| 25 | |
| 26 | typedef struct { |
Josh Coalson | 3379a17 | 2002-11-05 07:27:28 +0000 | [diff] [blame] | 27 | struct { |
| 28 | gboolean tag_override; |
| 29 | gchar *tag_format; |
| 30 | gboolean convert_char_set; |
Josh Coalson | 3379a17 | 2002-11-05 07:27:28 +0000 | [diff] [blame] | 31 | gchar *user_char_set; |
| 32 | } title; |
Josh Coalson | 9502748 | 2002-11-01 08:03:47 +0000 | [diff] [blame] | 33 | |
| 34 | struct { |
Josh Coalson | c99aa82 | 2004-10-07 00:23:51 +0000 | [diff] [blame] | 35 | gint http_buffer_size; |
| 36 | gint http_prebuffer; |
| 37 | gboolean use_proxy; |
| 38 | gchar *proxy_host; |
| 39 | gint proxy_port; |
| 40 | gboolean proxy_use_auth; |
| 41 | gchar *proxy_user; |
| 42 | gchar *proxy_pass; |
| 43 | gboolean save_http_stream; |
| 44 | gchar *save_http_path; |
| 45 | gboolean cast_title_streaming; |
| 46 | gboolean use_udp_channel; |
| 47 | } stream; |
| 48 | |
| 49 | struct { |
Josh Coalson | 3379a17 | 2002-11-05 07:27:28 +0000 | [diff] [blame] | 50 | struct { |
| 51 | gboolean enable; |
| 52 | gboolean album_mode; |
| 53 | gint preamp; |
| 54 | gboolean hard_limit; |
| 55 | } replaygain; |
| 56 | struct { |
| 57 | struct { |
| 58 | gboolean dither_24_to_16; |
| 59 | } normal; |
| 60 | struct { |
| 61 | gboolean dither; |
| 62 | gint noise_shaping; /* value must be one of NoiseShaping enum, c.f. plugin_common/replaygain_synthesis.h */ |
| 63 | gint bps_out; |
| 64 | } replaygain; |
| 65 | } resolution; |
| 66 | } output; |
Josh Coalson | 412fa3b | 2002-07-11 06:15:30 +0000 | [diff] [blame] | 67 | } flac_config_t; |
| 68 | |
| 69 | extern flac_config_t flac_cfg; |
| 70 | |
| 71 | extern void FLAC_XMMS__configure(void); |
| 72 | extern void FLAC_XMMS__aboutbox(); |
| 73 | |
| 74 | #endif |
| 75 | |
| 76 | |
| 77 | |