aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2006-11-11 05:48:58 -0500
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:01:24 -0500
commit4c07c81832a9303eeb36afb8f76ad0594e66cf5e (patch)
tree83ed0930ecd96b3345b8e13b9d7e594f6239f090
parent56255060ea51984e728223d8056b3faaba0dadf6 (diff)
[ALSA] snd-emu10k1: Update Enum naming.
Signed-off-by: James Courtier-Dutton <James@superbug.co.uk> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r--sound/pci/emu10k1/emumixer.c92
1 files changed, 46 insertions, 46 deletions
diff --git a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c
index 5ceb8dd5cb38..9b7fd564343e 100644
--- a/sound/pci/emu10k1/emumixer.c
+++ b/sound/pci/emu10k1/emumixer.c
@@ -316,30 +316,30 @@ static int snd_emu1010_input_source_put(struct snd_kcontrol *kcontrol,
316} 316}
317 317
318static struct snd_kcontrol_new snd_emu1010_output_enum_ctls[] __devinitdata = { 318static struct snd_kcontrol_new snd_emu1010_output_enum_ctls[] __devinitdata = {
319 EMU1010_SOURCE_OUTPUT("Dock DAC1 Left Playback Switch", 0), 319 EMU1010_SOURCE_OUTPUT("Dock DAC1 Left Playback Enum", 0),
320 EMU1010_SOURCE_OUTPUT("Dock DAC1 Right Playback Switch", 1), 320 EMU1010_SOURCE_OUTPUT("Dock DAC1 Right Playback Enum", 1),
321 EMU1010_SOURCE_OUTPUT("Dock DAC2 Left Playback Switch", 2), 321 EMU1010_SOURCE_OUTPUT("Dock DAC2 Left Playback Enum", 2),
322 EMU1010_SOURCE_OUTPUT("Dock DAC2 Right Playback Switch", 3), 322 EMU1010_SOURCE_OUTPUT("Dock DAC2 Right Playback Enum", 3),
323 EMU1010_SOURCE_OUTPUT("Dock DAC3 Left Playback Switch", 4), 323 EMU1010_SOURCE_OUTPUT("Dock DAC3 Left Playback Enum", 4),
324 EMU1010_SOURCE_OUTPUT("Dock DAC3 Right Playback Switch", 5), 324 EMU1010_SOURCE_OUTPUT("Dock DAC3 Right Playback Enum", 5),
325 EMU1010_SOURCE_OUTPUT("Dock DAC4 Left Playback Switch", 6), 325 EMU1010_SOURCE_OUTPUT("Dock DAC4 Left Playback Enum", 6),
326 EMU1010_SOURCE_OUTPUT("Dock DAC4 Right Playback Switch", 7), 326 EMU1010_SOURCE_OUTPUT("Dock DAC4 Right Playback Enum", 7),
327 EMU1010_SOURCE_OUTPUT("Dock Phones Left Playback Switch", 8), 327 EMU1010_SOURCE_OUTPUT("Dock Phones Left Playback Enum", 8),
328 EMU1010_SOURCE_OUTPUT("Dock Phones Right Playback Switch", 9), 328 EMU1010_SOURCE_OUTPUT("Dock Phones Right Playback Enum", 9),
329 EMU1010_SOURCE_OUTPUT("Dock SPDIF Left Playback Switch", 0xa), 329 EMU1010_SOURCE_OUTPUT("Dock SPDIF Left Playback Enum", 0xa),
330 EMU1010_SOURCE_OUTPUT("Dock SPDIF Right Playback Switch", 0xb), 330 EMU1010_SOURCE_OUTPUT("Dock SPDIF Right Playback Enum", 0xb),
331 EMU1010_SOURCE_OUTPUT("1010 SPDIF Left Playback Switch", 0xc), 331 EMU1010_SOURCE_OUTPUT("1010 SPDIF Left Playback Enum", 0xc),
332 EMU1010_SOURCE_OUTPUT("1010 SPDIF Right Playback Switch", 0xd), 332 EMU1010_SOURCE_OUTPUT("1010 SPDIF Right Playback Enum", 0xd),
333 EMU1010_SOURCE_OUTPUT("0202 DAC Left Playback Switch", 0xe), 333 EMU1010_SOURCE_OUTPUT("0202 DAC Left Playback Enum", 0xe),
334 EMU1010_SOURCE_OUTPUT("0202 DAC Right Playback Switch", 0xf), 334 EMU1010_SOURCE_OUTPUT("0202 DAC Right Playback Enum", 0xf),
335 EMU1010_SOURCE_OUTPUT("1010 ADAT 0 Playback Switch", 0x10), 335 EMU1010_SOURCE_OUTPUT("1010 ADAT 0 Playback Enum", 0x10),
336 EMU1010_SOURCE_OUTPUT("1010 ADAT 1 Playback Switch", 0x11), 336 EMU1010_SOURCE_OUTPUT("1010 ADAT 1 Playback Enum", 0x11),
337 EMU1010_SOURCE_OUTPUT("1010 ADAT 2 Playback Switch", 0x12), 337 EMU1010_SOURCE_OUTPUT("1010 ADAT 2 Playback Enum", 0x12),
338 EMU1010_SOURCE_OUTPUT("1010 ADAT 3 Playback Switch", 0x13), 338 EMU1010_SOURCE_OUTPUT("1010 ADAT 3 Playback Enum", 0x13),
339 EMU1010_SOURCE_OUTPUT("1010 ADAT 4 Playback Switch", 0x14), 339 EMU1010_SOURCE_OUTPUT("1010 ADAT 4 Playback Enum", 0x14),
340 EMU1010_SOURCE_OUTPUT("1010 ADAT 5 Playback Switch", 0x15), 340 EMU1010_SOURCE_OUTPUT("1010 ADAT 5 Playback Enum", 0x15),
341 EMU1010_SOURCE_OUTPUT("1010 ADAT 6 Playback Switch", 0x16), 341 EMU1010_SOURCE_OUTPUT("1010 ADAT 6 Playback Enum", 0x16),
342 EMU1010_SOURCE_OUTPUT("1010 ADAT 7 Playback Switch", 0x17), 342 EMU1010_SOURCE_OUTPUT("1010 ADAT 7 Playback Enum", 0x17),
343}; 343};
344 344
345#define EMU1010_SOURCE_INPUT(xname,chid) \ 345#define EMU1010_SOURCE_INPUT(xname,chid) \
@@ -353,28 +353,28 @@ static struct snd_kcontrol_new snd_emu1010_output_enum_ctls[] __devinitdata = {
353} 353}
354 354
355static struct snd_kcontrol_new snd_emu1010_input_enum_ctls[] __devinitdata = { 355static struct snd_kcontrol_new snd_emu1010_input_enum_ctls[] __devinitdata = {
356 EMU1010_SOURCE_INPUT("DSP 0 Capture Switch", 0), 356 EMU1010_SOURCE_INPUT("DSP 0 Capture Enum", 0),
357 EMU1010_SOURCE_INPUT("DSP 1 Capture Switch", 1), 357 EMU1010_SOURCE_INPUT("DSP 1 Capture Enum", 1),
358 EMU1010_SOURCE_INPUT("DSP 2 Capture Switch", 2), 358 EMU1010_SOURCE_INPUT("DSP 2 Capture Enum", 2),
359 EMU1010_SOURCE_INPUT("DSP 3 Capture Switch", 3), 359 EMU1010_SOURCE_INPUT("DSP 3 Capture Enum", 3),
360 EMU1010_SOURCE_INPUT("DSP 4 Capture Switch", 4), 360 EMU1010_SOURCE_INPUT("DSP 4 Capture Enum", 4),
361 EMU1010_SOURCE_INPUT("DSP 5 Capture Switch", 5), 361 EMU1010_SOURCE_INPUT("DSP 5 Capture Enum", 5),
362 EMU1010_SOURCE_INPUT("DSP 6 Capture Switch", 6), 362 EMU1010_SOURCE_INPUT("DSP 6 Capture Enum", 6),
363 EMU1010_SOURCE_INPUT("DSP 7 Capture Switch", 7), 363 EMU1010_SOURCE_INPUT("DSP 7 Capture Enum", 7),
364 EMU1010_SOURCE_INPUT("DSP 8 Capture Switch", 8), 364 EMU1010_SOURCE_INPUT("DSP 8 Capture Enum", 8),
365 EMU1010_SOURCE_INPUT("DSP 9 Capture Switch", 9), 365 EMU1010_SOURCE_INPUT("DSP 9 Capture Enum", 9),
366 EMU1010_SOURCE_INPUT("DSP A Capture Switch", 0xa), 366 EMU1010_SOURCE_INPUT("DSP A Capture Enum", 0xa),
367 EMU1010_SOURCE_INPUT("DSP B Capture Switch", 0xb), 367 EMU1010_SOURCE_INPUT("DSP B Capture Enum", 0xb),
368 EMU1010_SOURCE_INPUT("DSP C Capture Switch", 0xc), 368 EMU1010_SOURCE_INPUT("DSP C Capture Enum", 0xc),
369 EMU1010_SOURCE_INPUT("DSP D Capture Switch", 0xd), 369 EMU1010_SOURCE_INPUT("DSP D Capture Enum", 0xd),
370 EMU1010_SOURCE_INPUT("DSP E Capture Switch", 0xe), 370 EMU1010_SOURCE_INPUT("DSP E Capture Enum", 0xe),
371 EMU1010_SOURCE_INPUT("DSP F Capture Switch", 0xf), 371 EMU1010_SOURCE_INPUT("DSP F Capture Enum", 0xf),
372 EMU1010_SOURCE_INPUT("DSP 10 Capture Switch", 0x10), 372 EMU1010_SOURCE_INPUT("DSP 10 Capture Enum", 0x10),
373 EMU1010_SOURCE_INPUT("DSP 11 Capture Switch", 0x11), 373 EMU1010_SOURCE_INPUT("DSP 11 Capture Enum", 0x11),
374 EMU1010_SOURCE_INPUT("DSP 12 Capture Switch", 0x12), 374 EMU1010_SOURCE_INPUT("DSP 12 Capture Enum", 0x12),
375 EMU1010_SOURCE_INPUT("DSP 13 Capture Switch", 0x13), 375 EMU1010_SOURCE_INPUT("DSP 13 Capture Enum", 0x13),
376 EMU1010_SOURCE_INPUT("DSP 14 Capture Switch", 0x14), 376 EMU1010_SOURCE_INPUT("DSP 14 Capture Enum", 0x14),
377 EMU1010_SOURCE_INPUT("DSP 15 Capture Switch", 0x15), 377 EMU1010_SOURCE_INPUT("DSP 15 Capture Enum", 0x15),
378}; 378};
379 379
380 380