ALS4000 update (mixer etc.)
PATCH 1/1 ALS4000 update (mixer etc.)
Hi all,
- make snd_kcontrol_new_t arrays in sb_mixer.c arrays of *pointers* to snd_kcontrol_new_t in order to have way more flexibility in implementing "close but not quite" matches in SB-like mixer interfaces (assembling new clone card SB mixers from *preexisting* controls)
- added 3D sound controls and many more controls to ALS4000, also some fixes to other cards (SB16 etc.)
- tried to fix ALS4000 open/close clicking and popping but failed (documented failure)
- added hint about official ALS4000 chip specs
- some cleanup
Greetings,
Andreas Mohr
Index: alsa-kernel/include/sb.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/include/sb.h,v retrieving revision 1.7
include/sb.h +8 -1
@@ -225,7 +225,6 @@#define SB_DT019X_MIC_DEV 0x6a#define SB_DT019X_SPKR_DEV 0x6a#define SB_DT019X_LINE_DEV 0x6e -#define SB_DT019X_OUTPUT_SW1 0x3c#define SB_DT019X_OUTPUT_SW2 0x4c#define SB_DT019X_CAPTURE_SW 0x6c
@@ -234,6 +233,14 @@#define SB_DT019X_CAP_LINE 0x06#define SB_DT019X_CAP_SYNTH 0x07#define SB_DT019X_CAP_MAIN 0x07 + +#define SB_ALS4000_MONO_IO_CTRL 0x4b +#define SB_ALS4000_MIC_IN_GAIN 0x4d +#define SB_ALS4000_FMDAC 0x4f +#define SB_ALS4000_3D_SND_FX 0x50 +#define SB_ALS4000_3D_TIME_DELAY 0x51 +#define SB_ALS4000_3D_AUTO_MUTE 0x52 +#define SB_ALS4000_QSOUND 0xdb/* IRQ setting bitmap */ #define SB_IRQSETUP_IRQ9 0x01
Index: alsa-kernel/isa/sb/sb_mixer.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/sb/sb_mixer.c,v retrieving revision 1.9
isa/sb/sb_mixer.c +249 -71
375 lines not on this page · raw message
Index: alsa-kernel/pci/als4000.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/als4000.c,v retrieving revision 1.17
pci/als4000.c +38 -17
133 lines not on this page · raw message
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf