Diff for /np2/sound/sound.c between versions 1.18 and 1.21

version 1.18, 2005/02/07 14:46:12 version 1.21, 2005/04/05 20:37:07
Line 68  static void streamprepare(UINT samples)  Line 68  static void streamprepare(UINT samples) 
 #if defined(SUPPORT_WAVEREC)  #if defined(SUPPORT_WAVEREC)
 // ---- wave rec  // ---- wave rec
   
 BOOL sound_recstart(const char *filename) {  BOOL sound_recstart(const OEMCHAR *filename) {
   
         WAVEWR  rec;          WAVEWR  rec;
   
Line 305  void sound_sync(void) { Line 305  void sound_sync(void) {
         }          }
         else          else
 #endif  #endif
         streamprepare(length);                  streamprepare(length);
         soundcfg.lastclock += length * soundcfg.clockbase / soundcfg.hzbase;          soundcfg.lastclock += length * soundcfg.clockbase / soundcfg.hzbase;
         beep_eventreset();          beep_eventreset();
         SNDCSEC_LEAVE;          SNDCSEC_LEAVE;
Line 372  void sound_pcmunlock(const SINT32 *hdl)  Line 372  void sound_pcmunlock(const SINT32 *hdl) 
   
 // ---- pcmmix  // ---- pcmmix
   
 BOOL pcmmix_regist(PMIXDAT *dat, void *datptr, UINT datsize, UINT rate) {  BRESULT pcmmix_regist(PMIXDAT *dat, void *datptr, UINT datsize, UINT rate) {
   
         GETSND  gs;          GETSND  gs;
         UINT8   tmp[256];          UINT8   tmp[256];
Line 421  pmr_err1: Line 421  pmr_err1:
         return(FAILURE);          return(FAILURE);
 }  }
   
 BOOL pcmmix_regfile(PMIXDAT *dat, const char *fname, UINT rate) {  BRESULT pcmmix_regfile(PMIXDAT *dat, const OEMCHAR *fname, UINT rate) {
   
         FILEH   fh;          FILEH   fh;
         UINT    size;          UINT    size;
         UINT8   *ptr;          UINT8   *ptr;
         BOOL    r;          BRESULT r;
   
         r = FAILURE;          r = FAILURE;
         fh = file_open_rb(fname);          fh = file_open_rb(fname);

Removed from v.1.18  
changed lines
  Added in v.1.21


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