1 /*
2     TiMidity++ -- MIDI to WAVE converter and player
3     Copyright (C) 1999-2002 Masanao Izumo <mo@goice.co.jp>
4     Copyright (C) 1995 Tuukka Toivonen <tt@cgs.fi>
5 
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10 
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15 
16     You should have received a copy of the GNU General Public License
17     along with this program; if not, write to the Free Software
18     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 */
20 
21 #ifndef __W32G2_PREF_H__
22 #define __W32G2_PREF_H__
23 
24 extern volatile int PrefWndDoing;
25 void PrefWndCreate(HWND hwnd);
26 
27 #ifdef AU_GOGO
28 
29 // �_�C�A���O�̏����قƂ�ǂ��̂܂ܕۑ�����B
30 // �R���{�{�b�N�X�ɂ‚��Ă� Index �͖��Ӗ��Ȃ̂Œl��ۑ�����B
31 typedef struct gogo_ConfigDialogInfo_t_ {
32 	int optIDC_CHECK_DEFAULT;
33 	int optIDC_CHECK_COMMANDLINE_OPTS;
34 	char optIDC_EDIT_COMMANDLINE_OPTION[1024+1];
35 	int optIDC_CHECK_OUTPUT_FORMAT;
36 	int optIDC_COMBO_OUTPUT_FORMAT;
37 	int optIDC_CHECK_MPEG1AUDIOBITRATE;
38 	int optIDC_COMBO_MPEG1_AUDIO_BITRATE;
39 	int optIDC_CHECK_MPEG2AUDIOBITRATE;
40 	int optIDC_COMBO_MPEG2_AUDIO_BITRATE;
41 	int optIDC_CHECK_ENHANCED_LOW_PASS_FILTER;
42 	char optIDC_EDIT_LPF_PARA1[4+1];
43 	char optIDC_EDIT_LPF_PARA2[4+1];
44 	int optIDC_CHECK_ENCODE_MODE;
45 	int optIDC_COMBO_ENCODE_MODE;
46 	int optIDC_CHECK_EMPHASIS_TYPE;
47 	int optIDC_COMBO_EMPHASIS_TYPE;
48 	int optIDC_CHECK_OUTFREQ;
49 	char optIDC_EDIT_OUTFREQ[6+1];
50 	int optIDC_CHECK_MSTHRESHOLD;
51 	char optIDC_EDIT_MSTHRESHOLD_THRESHOLD[4+1];
52 	char optIDC_EDIT_MSTHRESHOLD_MSPOWER[4+1];
53 	int optIDC_CHECK_USE_CPU_OPTS;
54 	int optIDC_CHECK_CPUMMX;
55 	int optIDC_CHECK_CPUSSE;
56 	int optIDC_CHECK_CPU3DNOW;
57 	int optIDC_CHECK_CPUE3DNOW;
58 	int optIDC_CHECK_CPUCMOV;
59 	int optIDC_CHECK_CPUEMMX;
60 	int optIDC_CHECK_CPUSSE2;
61 	int optIDC_CHECK_VBR;
62 	int optIDC_COMBO_VBR;
63 	int optIDC_CHECK_VBR_BITRATE;
64 	int optIDC_COMBO_VBR_BITRATE_LOW;
65 	int optIDC_COMBO_VBR_BITRATE_HIGH;
66 	int optIDC_CHECK_USEPSY;
67 	int optIDC_CHECK_VERIFY;
68 	int optIDC_CHECK_16KHZ_LOW_PASS_FILTER;
69 } gogo_ConfigDialogInfo_t;
70 
71 extern volatile gogo_ConfigDialogInfo_t gogo_ConfigDialogInfo;
72 
73 extern int gogo_ConfigDialogInfoInit(void);
74 extern int gogo_ConfigDialogInfoApply(void);
75 extern int gogo_ConfigDialogInfoSaveINI(void);
76 extern int gogo_ConfigDialogInfoLoadINI(void);
77 extern int gogoConfigDialog(void);
78 
79 #endif // AU_GOGO
80 
81 #ifdef AU_VORBIS
82 
83 typedef struct vorbis_ConfigDialogInfo_t_ {
84 	int optIDC_CHECK_DEFAULT;
85 	int optIDC_COMBO_MODE;
86 } vorbis_ConfigDialogInfo_t;
87 
88 
89 extern int vorbis_ConfigDialogInfoInit(void);
90 extern int vorbis_ConfigDialogInfoApply(void);
91 extern int vorbis_ConfigDialogInfoSaveINI(void);
92 extern int vorbis_ConfigDialogInfoLoadINI(void);
93 
94 extern int vorbisConfigDialog(void);
95 
96 #endif // AU_VORBIS
97 
98 #ifdef AU_PORTAUDIO_DLL
99 
100 extern int asioConfigDialog(void);
101 
102 #endif //AU_PORTAUDIO_DLL
103 
104 #endif /* __W32G2_PREF_H__ */
105