60e5efa3360e341a1242d5593143da874d5e4011
[flac.git] / src / plugin_winamp2 / config.h
1 \r
2 //\r
3 //  common stuff\r
4 //\r
5 \r
6 typedef struct {\r
7         struct {\r
8                 BOOL enable;\r
9                 BOOL album_mode;\r
10                 INT  preamp;\r
11                 BOOL hard_limit;\r
12         } replaygain;\r
13         struct {\r
14                 struct {\r
15                         BOOL dither_24_to_16;\r
16                 } normal;\r
17                 struct {\r
18                         BOOL dither;\r
19                         INT  noise_shaping; /* value must be one of NoiseShaping enum, c.f. plugin_common/replaygain_synthesis.h */\r
20                         INT  bps_out;\r
21                 } replaygain;\r
22         } resolution;\r
23 } output_config_t;\r
24 \r
25 typedef struct {\r
26         struct {\r
27                 char tag_format[256];\r
28         } title;\r
29         output_config_t output;\r
30 } flac_config_t;\r
31 \r
32 extern flac_config_t flac_cfg;\r
33 extern char ini_name[MAX_PATH];\r
34 \r
35 //\r
36 //  prototypes\r
37 //\r
38 \r
39 void ReadConfig();\r
40 void WriteConfig();\r
41 int DoConfig(HINSTANCE inst, HWND parent);\r