Diff for /np2/sound/vermouth/midiout.c between versions 1.13 and 1.14

version 1.13, 2006/12/10 11:14:31 version 1.14, 2006/12/16 09:43:24
Line 729  VEXTERN MIDIHDL VEXPORT midiout_create(M Line 729  VEXTERN MIDIHDL VEXPORT midiout_create(M
         size += sizeof(_SAMPLE) * worksize;          size += sizeof(_SAMPLE) * worksize;
         ret = (MIDIHDL)_MALLOC(size, "MIDIHDL");          ret = (MIDIHDL)_MALLOC(size, "MIDIHDL");
         if (ret) {          if (ret) {
                   midimod_lock(module);
                 ZeroMemory(ret, size);                  ZeroMemory(ret, size);
                 ret->samprate = module->samprate;                  ret->samprate = module->samprate;
                 ret->worksize = worksize;                  ret->worksize = worksize;
Line 745  VEXTERN MIDIHDL VEXPORT midiout_create(M Line 746  VEXTERN MIDIHDL VEXPORT midiout_create(M
   
 VEXTERN void VEXPORT midiout_destroy(MIDIHDL hdl) {  VEXTERN void VEXPORT midiout_destroy(MIDIHDL hdl) {
   
           MIDIMOD module;
   
         if (hdl) {          if (hdl) {
                   module = hdl->module;
                 _MFREE(hdl);                  _MFREE(hdl);
                   midimod_lock(module);
         }          }
 }  }
   

Removed from v.1.13  
changed lines
  Added in v.1.14


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