Changeset 2401

Show
Ignore:
Timestamp:
04/24/99 12:00:43 (15 years ago)
Author:
ucacoxh
Message:

- moved the loopback setting during the init to past the bail check
since sb would fail to set loopback and this was causing device
opening to misreport as failing.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • rat/trunk/auddev_luigi.c

    r2314 r2401  
    129129                /* Select microphone input. We can't select output source...  */ 
    130130                luigi_audio_iport_set(audio_fd, iport); 
    131                 /* Turn off loopback from input to output... */ 
    132                 LUIGI_AUDIO_IOCTL(audio_fd, MIXER_WRITE(SOUND_MIXER_IMIX), &reclb); 
    133131 
    134132                if (luigi_error != 0) { 
     
    138136                        return FALSE; 
    139137                } 
    140                  
     138 
     139                /* Turn off loopback from input to output... not fatal so 
     140                 * after error check. 
     141                 */ 
     142                LUIGI_AUDIO_IOCTL(audio_fd, MIXER_WRITE(SOUND_MIXER_IMIX), &reclb); 
     143 
    141144                read(audio_fd, thedev, 64); 
    142145                return TRUE;