Ignore:
Timestamp:
Jul 18, 2000, 8:34:43 PM (25 years ago)
Author:
sandervl
Message:

waveOutSetVolume fix

File:
1 edited

Legend:

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

    r3328 r3852  
    1 /* $Id: waveout.cpp,v 1.14 2000-04-06 20:36:29 sandervl Exp $ */
     1/* $Id: waveout.cpp,v 1.15 2000-07-18 18:34:43 sandervl Exp $ */
    22//#undef DEBUG
    33/*
     
    438438    return(dwave->setVolume(dwVolume));
    439439  }
    440   else
    441       return MMSYSERR_NOERROR;
     440  if(hwo == NULL) {
     441        DartWaveOut::setDefaultVolume(dwVolume);
     442  }
     443  return MMSYSERR_NOERROR;
    442444//    return(MMSYSERR_INVALHANDLE);
    443445}
Note: See TracChangeset for help on using the changeset viewer.