diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-12-01 04:49:58 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:30:08 -0500 |
commit | adf1b3d25e50dbab48fdd21006bea2dd5a4cb3a8 (patch) | |
tree | e520ddca1f0cd5e9bb9afd14f3f226e2b1596e9a /sound/pci/ac97/ac97_proc.c | |
parent | 8cb7b63f5baf7b5e788f0d632d5ebd018856416f (diff) |
[ALSA] Optimize for config without PROC_FS (pci drivers)
Optimize the code when compiled without CONFIG_PROC_FS for some pci drivers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ac97/ac97_proc.c')
-rw-r--r-- | sound/pci/ac97/ac97_proc.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sound/pci/ac97/ac97_proc.c b/sound/pci/ac97/ac97_proc.c index 266073201293..7134b3f55fb5 100644 --- a/sound/pci/ac97/ac97_proc.c +++ b/sound/pci/ac97/ac97_proc.c | |||
@@ -68,6 +68,42 @@ static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_ | |||
68 | } | 68 | } |
69 | } | 69 | } |
70 | 70 | ||
71 | static const char *snd_ac97_stereo_enhancements[] = | ||
72 | { | ||
73 | /* 0 */ "No 3D Stereo Enhancement", | ||
74 | /* 1 */ "Analog Devices Phat Stereo", | ||
75 | /* 2 */ "Creative Stereo Enhancement", | ||
76 | /* 3 */ "National Semi 3D Stereo Enhancement", | ||
77 | /* 4 */ "YAMAHA Ymersion", | ||
78 | /* 5 */ "BBE 3D Stereo Enhancement", | ||
79 | /* 6 */ "Crystal Semi 3D Stereo Enhancement", | ||
80 | /* 7 */ "Qsound QXpander", | ||
81 | /* 8 */ "Spatializer 3D Stereo Enhancement", | ||
82 | /* 9 */ "SRS 3D Stereo Enhancement", | ||
83 | /* 10 */ "Platform Tech 3D Stereo Enhancement", | ||
84 | /* 11 */ "AKM 3D Audio", | ||
85 | /* 12 */ "Aureal Stereo Enhancement", | ||
86 | /* 13 */ "Aztech 3D Enhancement", | ||
87 | /* 14 */ "Binaura 3D Audio Enhancement", | ||
88 | /* 15 */ "ESS Technology Stereo Enhancement", | ||
89 | /* 16 */ "Harman International VMAx", | ||
90 | /* 17 */ "Nvidea/IC Ensemble/KS Waves 3D Stereo Enhancement", | ||
91 | /* 18 */ "Philips Incredible Sound", | ||
92 | /* 19 */ "Texas Instruments 3D Stereo Enhancement", | ||
93 | /* 20 */ "VLSI Technology 3D Stereo Enhancement", | ||
94 | /* 21 */ "TriTech 3D Stereo Enhancement", | ||
95 | /* 22 */ "Realtek 3D Stereo Enhancement", | ||
96 | /* 23 */ "Samsung 3D Stereo Enhancement", | ||
97 | /* 24 */ "Wolfson Microelectronics 3D Enhancement", | ||
98 | /* 25 */ "Delta Integration 3D Enhancement", | ||
99 | /* 26 */ "SigmaTel 3D Enhancement", | ||
100 | /* 27 */ "IC Ensemble/KS Waves", | ||
101 | /* 28 */ "Rockwell 3D Stereo Enhancement", | ||
102 | /* 29 */ "Reserved 29", | ||
103 | /* 30 */ "Reserved 30", | ||
104 | /* 31 */ "Reserved 31" | ||
105 | }; | ||
106 | |||
71 | static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subidx) | 107 | static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subidx) |
72 | { | 108 | { |
73 | char name[64]; | 109 | char name[64]; |