| 1 | /* $Id: mixerdata.cpp,v 1.4 2002-05-26 10:52:31 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 | "StereoMixVol", | 
|---|
| 194 | "Volume Control for Stereo Mixer Recording", | 
|---|
| 195 | }, | 
|---|
| 196 | { | 
|---|
| 197 | "MonoMixVol", | 
|---|
| 198 | "Volume Control for Mono Mixer Recording", | 
|---|
| 199 | }, | 
|---|
| 200 | }; | 
|---|
| 201 | /******************************************************************************/ | 
|---|
| 202 | /******************************************************************************/ | 
|---|
| 203 | char *szDestName[MIXER_DEST_MAX][2] = { | 
|---|
| 204 | { | 
|---|
| 205 | "Volume Control", | 
|---|
| 206 | "Volume Control", | 
|---|
| 207 | }, | 
|---|
| 208 | { | 
|---|
| 209 | "RecSource", | 
|---|
| 210 | "Recording Source", | 
|---|
| 211 | }, | 
|---|
| 212 | { | 
|---|
| 213 | "SPDIF", | 
|---|
| 214 | "SPDIF Control", | 
|---|
| 215 | } | 
|---|
| 216 | }; | 
|---|
| 217 | /******************************************************************************/ | 
|---|
| 218 | /******************************************************************************/ | 
|---|
| 219 | char *szSourceName[MIXER_SRC_MAX][2] = { | 
|---|
| 220 | { | 
|---|
| 221 | "MonoIn", | 
|---|
| 222 | "Mono In", | 
|---|
| 223 | }, | 
|---|
| 224 | { | 
|---|
| 225 | "Phone", | 
|---|
| 226 | "Telephone", | 
|---|
| 227 | }, | 
|---|
| 228 | { | 
|---|
| 229 | "Mic", | 
|---|
| 230 | "Microphone", | 
|---|
| 231 | }, | 
|---|
| 232 | { | 
|---|
| 233 | "Line", | 
|---|
| 234 | "Line", | 
|---|
| 235 | }, | 
|---|
| 236 | { | 
|---|
| 237 | "CD", | 
|---|
| 238 | "CD-ROM", | 
|---|
| 239 | }, | 
|---|
| 240 | { | 
|---|
| 241 | "SPDIF", | 
|---|
| 242 | "SPDIF", | 
|---|
| 243 | }, | 
|---|
| 244 | { | 
|---|
| 245 | "Video", | 
|---|
| 246 | "Video", | 
|---|
| 247 | }, | 
|---|
| 248 | { | 
|---|
| 249 | "Aux", | 
|---|
| 250 | "Auxiliary", | 
|---|
| 251 | }, | 
|---|
| 252 | { | 
|---|
| 253 | "Wave", | 
|---|
| 254 | "Wave Out", | 
|---|
| 255 | }, | 
|---|
| 256 | { | 
|---|
| 257 | "Wavetable", | 
|---|
| 258 | "Wavetable Synthesizer", | 
|---|
| 259 | }, | 
|---|
| 260 | { | 
|---|
| 261 | "MIDI", | 
|---|
| 262 | "MIDI Synthesizer", | 
|---|
| 263 | }, | 
|---|
| 264 | { | 
|---|
| 265 | "MonoIn", | 
|---|
| 266 | "Mono In", | 
|---|
| 267 | }, | 
|---|
| 268 | { | 
|---|
| 269 | "Phone", | 
|---|
| 270 | "Telephone", | 
|---|
| 271 | }, | 
|---|
| 272 | { | 
|---|
| 273 | "Mic", | 
|---|
| 274 | "Microphone", | 
|---|
| 275 | }, | 
|---|
| 276 | { | 
|---|
| 277 | "Line", | 
|---|
| 278 | "Line", | 
|---|
| 279 | }, | 
|---|
| 280 | { | 
|---|
| 281 | "CD", | 
|---|
| 282 | "CD-ROM", | 
|---|
| 283 | }, | 
|---|
| 284 | { | 
|---|
| 285 | "SPDIF", | 
|---|
| 286 | "SPDIF", | 
|---|
| 287 | }, | 
|---|
| 288 | { | 
|---|
| 289 | "Video", | 
|---|
| 290 | "Video", | 
|---|
| 291 | }, | 
|---|
| 292 | { | 
|---|
| 293 | "Aux", | 
|---|
| 294 | "Auxiliary", | 
|---|
| 295 | }, | 
|---|
| 296 | { | 
|---|
| 297 | "Wave", | 
|---|
| 298 | "Wave Out", | 
|---|
| 299 | }, | 
|---|
| 300 | { | 
|---|
| 301 | "Wavetable", | 
|---|
| 302 | "Wavetable Synthesizer", | 
|---|
| 303 | }, | 
|---|
| 304 | { | 
|---|
| 305 | "MIDI", | 
|---|
| 306 | "MIDI Synthesizer", | 
|---|
| 307 | }, | 
|---|
| 308 | { | 
|---|
| 309 | "StereoMix", | 
|---|
| 310 | "Stereo Mixer", | 
|---|
| 311 | }, | 
|---|
| 312 | { | 
|---|
| 313 | "MonoMix", | 
|---|
| 314 | "Mono Mixer", | 
|---|
| 315 | } | 
|---|
| 316 | }; | 
|---|
| 317 | /******************************************************************************/ | 
|---|
| 318 | /******************************************************************************/ | 
|---|
| 319 |  | 
|---|