[ALSA] Improve the shared-jack handling on ac97
authorTakashi Iwai <tiwai@suse.de>
Wed, 13 Apr 2005 12:32:57 +0000 (14:32 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 29 May 2005 08:00:48 +0000 (10:00 +0200)
commiteb8caf30f4c059ddfdfa32b6034549622953db6f
tree994ff6f1a8b19fb8914af3eae6035fd32b834c0f
parent267cdf4036ed9e8565a7d909fdf854b9c7e1c5ff
[ALSA] Improve the shared-jack handling on ac97

AC97 Codec
The handling of shared surround/clfe output jacks with line/mic-in
on some AC97 codecs is improved.

Instead of 'Line-In As Surround' or 'Mic As Center/LFE' switch, two
new enum controls are introduced: 'Channel Mode' and 'Surround Jack Mode'.
The formar changes the current output mode among 2, 4 and 6-channels.
The latter controls whether the jacks are shared or independent.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/ac97_codec.h
sound/pci/ac97/ac97_patch.c