2003-01-08 07:59:48 +00:00
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// common stuff
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
struct {
|
2003-01-14 09:01:31 +00:00
|
|
|
BOOL enable;
|
|
|
|
|
BOOL album_mode;
|
|
|
|
|
INT preamp;
|
|
|
|
|
BOOL hard_limit;
|
|
|
|
|
} replaygain;
|
2003-01-08 07:59:48 +00:00
|
|
|
struct {
|
|
|
|
|
struct {
|
2003-01-14 09:01:31 +00:00
|
|
|
BOOL dither_24_to_16;
|
|
|
|
|
} normal;
|
2003-01-08 07:59:48 +00:00
|
|
|
struct {
|
2003-01-14 09:01:31 +00:00
|
|
|
BOOL dither;
|
|
|
|
|
INT noise_shaping; /* value must be one of NoiseShaping enum, c.f. plugin_common/replaygain_synthesis.h */
|
|
|
|
|
INT bps_out;
|
|
|
|
|
} replaygain;
|
|
|
|
|
} resolution;
|
|
|
|
|
} output_config_t;
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
struct {
|
|
|
|
|
char tag_format[256];
|
|
|
|
|
} title;
|
|
|
|
|
output_config_t output;
|
2003-01-08 07:59:48 +00:00
|
|
|
} flac_config_t;
|
|
|
|
|
|
|
|
|
|
extern flac_config_t flac_cfg;
|
|
|
|
|
extern char ini_name[MAX_PATH];
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// prototypes
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
void ReadConfig();
|
|
|
|
|
void WriteConfig();
|
2003-01-14 09:01:31 +00:00
|
|
|
int DoConfig(HINSTANCE inst, HWND parent);
|