Ignore:
Timestamp:
May 1, 2010, 9:49:10 PM (15 years ago)
Author:
David Azarewicz
Message:

Cleanup compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/emu10k1/emufx.c

    r426 r479  
    4040#include <sound/tlv.h>
    4141#include <sound/emu10k1.h>
     42#include <proto.h>
    4243
    4344#if 0           /* for testing purposes - digital out -> capture */
     
    5354/*
    5455 *  Tables
    55  */ 
     56 */
    5657
    5758static char *fxbuses[16] = {
     
    304305/*
    305306 */
    306  
     307
    307308static inline mm_segment_t snd_enter_user(void)
    308309{
     
    12561257        snd_emu10k1_init_stereo_control(&controls[nctl++], "Synth Capture Volume", gpr, 0);
    12571258        gpr += 2;
    1258      
     1259
    12591260        /*
    12601261         * inputs
     
    13321333                                        gpr, 0);
    13331334        gpr += 2;
    1334        
     1335
    13351336        /* Philips ADC Playback Volume */
    13361337        A_ADD_VOLUME_IN(stereo_mix, gpr, A_EXTIN_ADC_L);
     
    15301531        }
    15311532
    1532         /* IEC958 Optical Raw Playback Switch */ 
     1533        /* IEC958 Optical Raw Playback Switch */
    15331534        gpr_map[gpr++] = 0;
    15341535        gpr_map[gpr++] = 0x1008;
     
    15701571                        snd_printk(KERN_INFO "EMU2 inputs on\n");
    15711572                        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,
    15731574                                                                        bit_shifter16,
    15741575                                                                        A3_EMU32IN(z),
     
    22952296                 * and EXTOUT_ALFE, so we can't connect inputs to them for multitrack recording.
    22962297                 *
    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
    23012302                 * on the second and third channels.
    23022303                 */
     
    23112312                        OP(icode, &ptr, iACC3, FXBUS2(z), C_00000000, C_00000000, EXTIN(z));
    23122313        }
    2313            
     2314       
    23142315
    23152316        if (gpr > tmp) {
Note: See TracChangeset for help on using the changeset viewer.