1 | /* $Id: mixerdata.cpp,v 1.1 2002-05-23 13:50:15 sandervl Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * Mixer multimedia
|
---|
5 | *
|
---|
6 | * Copyright 2002 Sander van Leeuwen (sandervl@xs4all.nl)
|
---|
7 | *
|
---|
8 | *
|
---|
9 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
10 | *
|
---|
11 | */
|
---|
12 |
|
---|
13 | #include <os2win.h>
|
---|
14 | #include "mixer.h"
|
---|
15 |
|
---|
16 |
|
---|
17 | /******************************************************************************/
|
---|
18 | /******************************************************************************/
|
---|
19 | char *szCtrlName[MIX_CTRL_MAX][2] = {
|
---|
20 | {
|
---|
21 | "MasterVol",
|
---|
22 | "Master Volume Control for LineOut"
|
---|
23 | },
|
---|
24 | {
|
---|
25 | "MasterMute",
|
---|
26 | "Master Mute Control for LineOut"
|
---|
27 | },
|
---|
28 | {
|
---|
29 | "MonoInVol",
|
---|
30 | "Volume Control for Mono In"
|
---|
31 | },
|
---|
32 | {
|
---|
33 | "MonoInMute",
|
---|
34 | "Mute Control for Mono In"
|
---|
35 | },
|
---|
36 | {
|
---|
37 | "PhoneVol",
|
---|
38 | "Volume Control for Telephone"
|
---|
39 | },
|
---|
40 | {
|
---|
41 | "PhoneMute",
|
---|
42 | "Mute Control for Telephone"
|
---|
43 | },
|
---|
44 | {
|
---|
45 | "MicVol",
|
---|
46 | "Volume Control for Microphone"
|
---|
47 | },
|
---|
48 | {
|
---|
49 | "MicMute",
|
---|
50 | "Mute Control for Microphone"
|
---|
51 | },
|
---|
52 | {
|
---|
53 | "MicBoost",
|
---|
54 | "Microphone Boost Control"
|
---|
55 | },
|
---|
56 | {
|
---|
57 | "LineInVol",
|
---|
58 | "Volume Control for Line In"
|
---|
59 | },
|
---|
60 | {
|
---|
61 | "LineInMute",
|
---|
62 | "Mute Control for Line In"
|
---|
63 | },
|
---|
64 | {
|
---|
65 | "CDVol",
|
---|
66 | "Volume Control for CD"
|
---|
67 | },
|
---|
68 | {
|
---|
69 | "CDMute",
|
---|
70 | "Mute Control for CD"
|
---|
71 | },
|
---|
72 | {
|
---|
73 | "SPDIFInVol",
|
---|
74 | "Volume Control for SPDIF In"
|
---|
75 | },
|
---|
76 | {
|
---|
77 | "SPDIFInMute",
|
---|
78 | "Mute Control for SPDIF In"
|
---|
79 | },
|
---|
80 | {
|
---|
81 | "SPDIFOutVol",
|
---|
82 | "Master Volume Control for SPDIF Out"
|
---|
83 | },
|
---|
84 | {
|
---|
85 | "SPDIFOutMute",
|
---|
86 | "Master Mute Control for SPDIF Out"
|
---|
87 | },
|
---|
88 | {
|
---|
89 | "VideoVol",
|
---|
90 | "Volume Control for Video"
|
---|
91 | },
|
---|
92 | {
|
---|
93 | "VideoMute",
|
---|
94 | "Mute Control for Video"
|
---|
95 | },
|
---|
96 | {
|
---|
97 | "AuxVol",
|
---|
98 | "Volume Control for Aux"
|
---|
99 | },
|
---|
100 | {
|
---|
101 | "AuxMute",
|
---|
102 | "Mute Control for Aux"
|
---|
103 | },
|
---|
104 | {
|
---|
105 | "WaveOutVol",
|
---|
106 | "Volume Control for WaveOut"
|
---|
107 | },
|
---|
108 | {
|
---|
109 | "WaveOutMute",
|
---|
110 | "Mute Control for WaveOut"
|
---|
111 | },
|
---|
112 | {
|
---|
113 | "WavetableVol",
|
---|
114 | "Volume Control for Wavetable MIDI"
|
---|
115 | },
|
---|
116 | {
|
---|
117 | "WavetableMute",
|
---|
118 | "Mute Control for Wavetable MIDI"
|
---|
119 | },
|
---|
120 | {
|
---|
121 | "MIDIVol",
|
---|
122 | "Volume Control for MIDI"
|
---|
123 | },
|
---|
124 | {
|
---|
125 | "MIDIMute",
|
---|
126 | "Mute Control for MIDI"
|
---|
127 | },
|
---|
128 | {
|
---|
129 | "3D Center",
|
---|
130 | "3D Center Control for LineOut"
|
---|
131 | },
|
---|
132 | {
|
---|
133 | "3D Depth",
|
---|
134 | "3D Depth Control for LineOut"
|
---|
135 | },
|
---|
136 | {
|
---|
137 | "Treble",
|
---|
138 | "Treble Control"
|
---|
139 | },
|
---|
140 | {
|
---|
141 | "Bass",
|
---|
142 | "Bass Control"
|
---|
143 | },
|
---|
144 | {
|
---|
145 | "WaveInMux",
|
---|
146 | "Mux Control for Recording"
|
---|
147 | },
|
---|
148 | {
|
---|
149 | "MonoRecVol",
|
---|
150 | "Volume Control for Mono Recording"
|
---|
151 | },
|
---|
152 | {
|
---|
153 | "PhoneRecVol",
|
---|
154 | "Volume Control for Telephone Recording"
|
---|
155 | },
|
---|
156 | {
|
---|
157 | "MicRecVol",
|
---|
158 | "Volume Control for Microphone Recording"
|
---|
159 | },
|
---|
160 | {
|
---|
161 | "LineRecVol",
|
---|
162 | "Volume Control for Line Recording"
|
---|
163 | },
|
---|
164 | {
|
---|
165 | "CDRecVol",
|
---|
166 | "Volume Control for CD Recording"
|
---|
167 | },
|
---|
168 | {
|
---|
169 | "SPDIFRecVol",
|
---|
170 | "Volume Control for SPDIF Recording"
|
---|
171 | },
|
---|
172 | {
|
---|
173 | "VideoRecVol",
|
---|
174 | "Volume Control for Video Recording"
|
---|
175 | },
|
---|
176 | {
|
---|
177 | "AuxRecVol",
|
---|
178 | "Volume Control for Aux Recording"
|
---|
179 | },
|
---|
180 | {
|
---|
181 | "WaveRecVol",
|
---|
182 | "Volume Control for WaveOut Recording"
|
---|
183 | },
|
---|
184 | {
|
---|
185 | "WTRecVol",
|
---|
186 | "Volume Control for Wavetable MIDI Recording"
|
---|
187 | },
|
---|
188 | {
|
---|
189 | "MIDIVol",
|
---|
190 | "Volume Control for MIDI Recording"
|
---|
191 | },
|
---|
192 | };
|
---|
193 | /******************************************************************************/
|
---|
194 | /******************************************************************************/
|
---|
195 | char *szDestName[MIXER_DEST_MAX][2] = {
|
---|
196 | {
|
---|
197 | "Vol",
|
---|
198 | "Volume Control",
|
---|
199 | },
|
---|
200 | {
|
---|
201 | "Rec",
|
---|
202 | "Recording Control",
|
---|
203 | },
|
---|
204 | {
|
---|
205 | "SPDIF",
|
---|
206 | "SPDIF Control",
|
---|
207 | }
|
---|
208 | };
|
---|
209 | /******************************************************************************/
|
---|
210 | /******************************************************************************/
|
---|
211 | char *szSourceName[MIXER_SRC_MAX][2] = {
|
---|
212 | {
|
---|
213 | "MonoIn",
|
---|
214 | "Mono In",
|
---|
215 | },
|
---|
216 | {
|
---|
217 | "Phone",
|
---|
218 | "Telephone",
|
---|
219 | },
|
---|
220 | {
|
---|
221 | "Mic",
|
---|
222 | "Microphone",
|
---|
223 | },
|
---|
224 | {
|
---|
225 | "Line",
|
---|
226 | "Line",
|
---|
227 | },
|
---|
228 | {
|
---|
229 | "CD",
|
---|
230 | "CD-ROM",
|
---|
231 | },
|
---|
232 | {
|
---|
233 | "SPDIF",
|
---|
234 | "SPDIF",
|
---|
235 | },
|
---|
236 | {
|
---|
237 | "Video",
|
---|
238 | "Video",
|
---|
239 | },
|
---|
240 | {
|
---|
241 | "Aux",
|
---|
242 | "Auxiliary",
|
---|
243 | },
|
---|
244 | {
|
---|
245 | "Wave",
|
---|
246 | "Wave Out",
|
---|
247 | },
|
---|
248 | {
|
---|
249 | "Wavetable",
|
---|
250 | "Wavetable Synthesizer",
|
---|
251 | },
|
---|
252 | {
|
---|
253 | "MIDI",
|
---|
254 | "MIDI Synthesizer",
|
---|
255 | }
|
---|
256 | };
|
---|
257 | /******************************************************************************/
|
---|
258 | /******************************************************************************/
|
---|
259 |
|
---|