Changeset 479 for GPL/trunk/alsa-kernel/pci/emu10k1/emufx.c
- Timestamp:
- May 1, 2010, 9:49:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/pci/emu10k1/emufx.c
r426 r479 40 40 #include <sound/tlv.h> 41 41 #include <sound/emu10k1.h> 42 #include <proto.h> 42 43 43 44 #if 0 /* for testing purposes - digital out -> capture */ … … 53 54 /* 54 55 * Tables 55 */ 56 */ 56 57 57 58 static char *fxbuses[16] = { … … 304 305 /* 305 306 */ 306 307 307 308 static inline mm_segment_t snd_enter_user(void) 308 309 { … … 1256 1257 snd_emu10k1_init_stereo_control(&controls[nctl++], "Synth Capture Volume", gpr, 0); 1257 1258 gpr += 2; 1258 1259 1259 1260 /* 1260 1261 * inputs … … 1332 1333 gpr, 0); 1333 1334 gpr += 2; 1334 1335 1335 1336 /* Philips ADC Playback Volume */ 1336 1337 A_ADD_VOLUME_IN(stereo_mix, gpr, A_EXTIN_ADC_L); … … 1530 1531 } 1531 1532 1532 /* IEC958 Optical Raw Playback Switch */ 1533 /* IEC958 Optical Raw Playback Switch */ 1533 1534 gpr_map[gpr++] = 0; 1534 1535 gpr_map[gpr++] = 0x1008; … … 1570 1571 snd_printk(KERN_INFO "EMU2 inputs on\n"); 1571 1572 for (z = 0; z < 0x10; z++) { 1572 snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, 1573 snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, 1573 1574 bit_shifter16, 1574 1575 A3_EMU32IN(z), … … 2295 2296 * and EXTOUT_ALFE, so we can't connect inputs to them for multitrack recording. 2296 2297 * 2297 * Since only 14 of the 16 EXTINs are used, this is not a big problem. 2298 * We route AC97L and R to FX capture 14 and 15, SPDIF CD in to FX capture 2299 * 0 and 3, then the rest of the EXTINs to the corresponding FX capture 2300 * channel. Multitrack recorders will still see the center/lfe output signal 2298 * Since only 14 of the 16 EXTINs are used, this is not a big problem. 2299 * We route AC97L and R to FX capture 14 and 15, SPDIF CD in to FX capture 2300 * 0 and 3, then the rest of the EXTINs to the corresponding FX capture 2301 * channel. Multitrack recorders will still see the center/lfe output signal 2301 2302 * on the second and third channels. 2302 2303 */ … … 2311 2312 OP(icode, &ptr, iACC3, FXBUS2(z), C_00000000, C_00000000, EXTIN(z)); 2312 2313 } 2313 2314 2314 2315 2315 2316 if (gpr > tmp) {
Note:
See TracChangeset
for help on using the changeset viewer.