/[openvortex]/alsa/alsa-kernel/usb/usbmixer_maps.c
ViewVC logotype

Diff of /alsa/alsa-kernel/usb/usbmixer_maps.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by vizard, Sat May 31 02:35:13 2003 UTC revision 1.3 by vizard, Mon Aug 11 00:06:40 2003 UTC
# Line 89  static struct usbmix_name_map extigy_map Line 89  static struct usbmix_name_map extigy_map
89          { 0 } /* terminator */          { 0 } /* terminator */
90  };  };
91    
92    /* Section "justlink_map" below added by James Courtier-Dutton <James@superbug.demon.co.uk>
93     * sourced from Maplin Electronics (http://www.maplin.co.uk), part number A56AK
94     * Part has 2 connectors that act as a single output. (TOSLINK Optical for digital out, and 3.5mm Jack for Analogue out.)
95     * The USB Mixer publishes a Microphone and extra Volume controls for it, but none exist on the device,
96     * so this map removes all unwanted sliders from alsamixer
97     */
98    
99    static struct usbmix_name_map justlink_map[] = {
100            /* 1: IT pcm playback */
101            /* 2: Not present */
102            { 3, NULL}, /* IT mic (No mic input on device) */
103            /* 4: Not present */
104            /* 5: OT speacker */
105            /* 6: OT pcm capture */
106            { 7, "Master Playback" }, /* Mute/volume for speaker */
107            { 8, NULL }, /* Capture Switch (No capture inputs on device) */
108            { 9, NULL }, /* Capture Mute/volume (No capture inputs on device */
109            /* 0xa: Not present */
110            /* 0xb: MU (w/o controls) */
111            { 0xc, NULL }, /* Mic feedback Mute/volume (No capture inputs on device) */
112            { 0 } /* terminator */
113    };
114    
115  /*  /*
116   * Control map entries   * Control map entries
# Line 96  static struct usbmix_name_map extigy_map Line 118  static struct usbmix_name_map extigy_map
118    
119  static struct usbmix_ctl_map usbmix_ctl_maps[] = {  static struct usbmix_ctl_map usbmix_ctl_maps[] = {
120          { 0x41e, 0x3000, extigy_map },          { 0x41e, 0x3000, extigy_map },
121            { 0xc45, 0x1158, justlink_map },
122          { 0 } /* terminator */          { 0 } /* terminator */
123  };  };
124    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26