~ubuntu-branches/ubuntu/karmic/flac/karmic

« back to all changes in this revision

Viewing changes to src/plugin_winamp2/config.h

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2005-01-08 15:08:22 UTC
  • mto: (8.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050108150822-yvinilrafylazcyv
Tags: upstream-1.1.1
ImportĀ upstreamĀ versionĀ 1.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
//
3
 
//  common stuff
4
 
//
5
 
 
6
 
typedef struct {
7
 
        struct {
8
 
                BOOL enable;
9
 
                BOOL album_mode;
10
 
                INT  preamp;
11
 
                BOOL hard_limit;
12
 
        } replaygain;
13
 
        struct {
14
 
                struct {
15
 
                        BOOL dither_24_to_16;
16
 
                } normal;
17
 
                struct {
18
 
                        BOOL dither;
19
 
                        INT  noise_shaping; /* value must be one of NoiseShaping enum, c.f. plugin_common/replaygain_synthesis.h */
20
 
                        INT  bps_out;
21
 
                } replaygain;
22
 
        } resolution;
23
 
} output_config_t;
 
1
/* in_flac - Winamp2 FLAC input plugin
 
2
 * Copyright (C) 2002,2003,2004  Josh Coalson
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU General Public License
 
6
 * as published by the Free Software Foundation; either version 2
 
7
 * of the License, or (at your option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program; if not, write to the Free Software
 
16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
17
 */
 
18
 
 
19
#include "playback.h"
 
20
 
 
21
/*
 
22
 *  common stuff
 
23
 */
24
24
 
25
25
typedef struct {
26
26
        struct {
27
27
                char tag_format[256];
 
28
                char sep[16];
 
29
                WCHAR *tag_format_w;
28
30
        } title;
 
31
        struct {
 
32
                BOOL reserve_space;
 
33
        } tag;
 
34
        struct {
 
35
                FLAC__bool show_bps;
 
36
        } display;
29
37
        output_config_t output;
30
38
} flac_config_t;
31
39
 
32
40
extern flac_config_t flac_cfg;
33
 
extern char ini_name[MAX_PATH];
34
 
 
35
 
//
36
 
//  prototypes
37
 
//
38
 
 
 
41
 
 
42
/*
 
43
 *  prototypes
 
44
 */
 
45
 
 
46
void InitConfig();
39
47
void ReadConfig();
40
48
void WriteConfig();
41
 
int DoConfig(HINSTANCE inst, HWND parent);
 
49
int  DoConfig(HINSTANCE inst, HWND parent);