2004-09-24 13:57:40 +00:00
|
|
|
/* in_flac - Winamp2 FLAC input plugin
|
2006-04-25 06:59:33 +00:00
|
|
|
* Copyright (C) 2002,2003,2004,2005,2006 Josh Coalson
|
2004-09-24 13:57:40 +00:00
|
|
|
*
|
|
|
|
|
* 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; either version 2
|
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* 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, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
*/
|
2003-01-08 07:59:48 +00:00
|
|
|
|
2004-09-24 13:57:40 +00:00
|
|
|
#include "playback.h"
|
2003-01-08 07:59:48 +00:00
|
|
|
|
2004-09-24 13:57:40 +00:00
|
|
|
/*
|
|
|
|
|
* common stuff
|
|
|
|
|
*/
|
2003-01-14 09:01:31 +00:00
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
struct {
|
|
|
|
|
char tag_format[256];
|
2004-09-24 13:57:40 +00:00
|
|
|
char sep[16];
|
|
|
|
|
WCHAR *tag_format_w;
|
2003-01-14 09:01:31 +00:00
|
|
|
} title;
|
2004-09-24 13:57:40 +00:00
|
|
|
struct {
|
|
|
|
|
BOOL reserve_space;
|
|
|
|
|
} tag;
|
|
|
|
|
struct {
|
|
|
|
|
FLAC__bool show_bps;
|
|
|
|
|
} display;
|
2003-01-14 09:01:31 +00:00
|
|
|
output_config_t output;
|
2003-01-08 07:59:48 +00:00
|
|
|
} flac_config_t;
|
|
|
|
|
|
|
|
|
|
extern flac_config_t flac_cfg;
|
|
|
|
|
|
2004-09-24 13:57:40 +00:00
|
|
|
/*
|
|
|
|
|
* prototypes
|
|
|
|
|
*/
|
2003-01-08 07:59:48 +00:00
|
|
|
|
2004-09-24 13:57:40 +00:00
|
|
|
void InitConfig();
|
2003-01-08 07:59:48 +00:00
|
|
|
void ReadConfig();
|
|
|
|
|
void WriteConfig();
|
2004-09-24 13:57:40 +00:00
|
|
|
int DoConfig(HINSTANCE inst, HWND parent);
|