Diff for /np2/win9x/soundmng.cpp between versions 1.4 and 1.6

version 1.4, 2003/10/30 12:45:38 version 1.6, 2003/11/28 08:01:33
Line 74  UINT soundmng_create(UINT rate, UINT ms) Line 74  UINT soundmng_create(UINT rate, UINT ms)
         UINT                    samples;          UINT                    samples;
         DSBUFFERDESC    dsbdesc;          DSBUFFERDESC    dsbdesc;
         PCMWAVEFORMAT   pcmwf;          PCMWAVEFORMAT   pcmwf;
 #if defined(VERMOUTH_LIB)  
         UINT                    num;  
 #endif  
   
         if ((pDSound == NULL) ||          if ((pDSound == NULL) ||
                 (rate != 11025) && (rate != 22050) && (rate != 44100)) {                  (rate != 11025) && (rate != 22050) && (rate != 44100)) {
                 goto stcre_err1;                  goto stcre_err1;
         }          }
         if (ms < 50) {          if (ms < 40) {
                 ms = 50;                  ms = 40;
         }          }
         else if (ms > 1000) {          else if (ms > 1000) {
                 ms = 1000;                  ms = 1000;
Line 118  UINT soundmng_create(UINT rate, UINT ms) Line 115  UINT soundmng_create(UINT rate, UINT ms)
   
 #if defined(VERMOUTH_LIB)  #if defined(VERMOUTH_LIB)
         vermouth_module = midimod_create(rate);          vermouth_module = midimod_create(rate);
         for (num=0; num<128; num++) {          midimod_loadall(vermouth_module);
                 midimod_loadprogram(vermouth_module, num);  
                 midimod_loadrhythm(vermouth_module, num);  
         }  
 #endif  #endif
         dsstreamevent = (BYTE)-1;          dsstreamevent = (BYTE)-1;
         soundmng_reset();          soundmng_reset();

Removed from v.1.4  
changed lines
  Added in v.1.6


RetroPC.NET-CVS <cvs@retropc.net>