Diff for /np2/macosx/soundmng.cpp between versions 1.3 and 1.4

version 1.3, 2003/10/28 16:44:44 version 1.4, 2003/11/06 01:58:36
Line 188  UINT soundmng_create(UINT rate, UINT ms) Line 188  UINT soundmng_create(UINT rate, UINT ms)
         if (SoundChannel_Init()) {          if (SoundChannel_Init()) {
                 goto qsinit_err;                  goto qsinit_err;
         }          }
         samples = (rate / 3) & (~3);          samples = rate * ms / 1000;
           samples = (samples + 3) & (~3);
         if (SoundBuffer_Init(rate, samples)) {          if (SoundBuffer_Init(rate, samples)) {
                 goto qsinit_err;                  goto qsinit_err;
         }          }
Line 203  UINT soundmng_create(UINT rate, UINT ms) Line 204  UINT soundmng_create(UINT rate, UINT ms)
   
 qsinit_err:  qsinit_err:
         soundmng_destroy();          soundmng_destroy();
         (void)ms;  
         return(0);          return(0);
 }  }
   

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


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