mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
new configuration dialog and replay gain code; thanks to X-Fixer
This commit is contained in:
49
src/plugin_winamp2/config.h
Normal file
49
src/plugin_winamp2/config.h
Normal file
@@ -0,0 +1,49 @@
|
||||
|
||||
//
|
||||
// common stuff
|
||||
//
|
||||
|
||||
typedef struct {
|
||||
//!
|
||||
/*
|
||||
struct {
|
||||
gboolean tag_override;
|
||||
gchar *tag_format;
|
||||
gboolean convert_char_set;
|
||||
gchar *file_char_set;
|
||||
gchar *user_char_set;
|
||||
} title;
|
||||
*/
|
||||
|
||||
struct {
|
||||
struct {
|
||||
BOOL enable;
|
||||
BOOL album_mode;
|
||||
INT preamp;
|
||||
BOOL hard_limit;
|
||||
} replaygain;
|
||||
struct {
|
||||
struct {
|
||||
BOOL dither_24_to_16;
|
||||
} normal;
|
||||
struct {
|
||||
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;
|
||||
} flac_config_t;
|
||||
|
||||
extern flac_config_t flac_cfg;
|
||||
extern char ini_name[MAX_PATH];
|
||||
extern HANDLE thread_handle;
|
||||
extern In_Module mod_;
|
||||
|
||||
//
|
||||
// prototypes
|
||||
//
|
||||
|
||||
void ReadConfig();
|
||||
void WriteConfig();
|
||||
int DoConfig(HWND parent);
|
||||
Reference in New Issue
Block a user