blob: 24e0e508c1df5d520136097a8845927ed3daa05b [file] [log] [blame]
Josh Coalson412fa3b2002-07-11 06:15:30 +00001/* libxmms-flac - XMMS FLAC input plugin
Josh Coalson95643902004-01-17 04:14:43 +00002 * Copyright (C) 2002,2003,2004 Daisuke Shimamura
Josh Coalson412fa3b2002-07-11 06:15:30 +00003 *
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
26typedef struct {
Josh Coalson3379a172002-11-05 07:27:28 +000027 struct {
28 gboolean tag_override;
29 gchar *tag_format;
30 gboolean convert_char_set;
Josh Coalson3379a172002-11-05 07:27:28 +000031 gchar *user_char_set;
32 } title;
Josh Coalson95027482002-11-01 08:03:47 +000033
34 struct {
Josh Coalsonc99aa822004-10-07 00:23:51 +000035 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 Coalson3379a172002-11-05 07:27:28 +000050 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 Coalson412fa3b2002-07-11 06:15:30 +000067} flac_config_t;
68
69extern flac_config_t flac_cfg;
70
71extern void FLAC_XMMS__configure(void);
72extern void FLAC_XMMS__aboutbox();
73
74#endif
75
76
77