Ignore:
Timestamp:
May 25, 2002, 10:07:59 AM (23 years ago)
Author:
sandervl
Message:

fix for soundcards without ioctl90 support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/winmm/mixer.cpp

    r8485 r8488  
    1 /* $Id: mixer.cpp,v 1.15 2002-05-24 18:02:47 sandervl Exp $ */
     1/* $Id: mixer.cpp,v 1.16 2002-05-25 08:07:59 sandervl Exp $ */
    22
    33/*
     
    908908    memset(mixerDestInputs, -1, sizeof(mixerDestInputs));
    909909
    910     if(OSLibMixerOpen() == FALSE) {
     910    if(OSLibMixerOpen() == TRUE) {
    911911        //Line out destination
    912912        pDestLine = mixerAddDestination(MIXER_DEST_LINEOUT);
     
    918918
    919919        //WaveIn destination
    920         pDestLine = mixerAddDestination(MIXER_DEST_WAVEIN);
    921         mixerAddControl(pDestLine, MIX_CTRL_MUX_IN_W_SRC, pDestLine);
     920        pDestLine  = mixerAddDestination(MIXER_DEST_WAVEIN);
     921        pWaveInMux = mixerAddControl(pDestLine, MIX_CTRL_MUX_IN_W_SRC, pDestLine);
    922922        mixerAddControl(pDestLine, MIX_CTRL_VOL_IN_W_MIC, pDestLine);
    923923        mixerAddControl(pDestLine, MIX_CTRL_VOL_IN_W_LINE, pDestLine);
Note: See TracChangeset for help on using the changeset viewer.