Diff for /np2/sound/opngeng.c between versions 1.4 and 1.5

version 1.4, 2003/10/22 14:13:25 version 1.5, 2003/10/26 07:50:36
Line 46  extern SINT32 sintable[];     // ver0.27 Line 46  extern SINT32 sintable[];     // ver0.27
                 ((sintable[(((s).freq_cnt + (c)) >> (FREQ_BITS - SIN_BITS)) &           \                  ((sintable[(((s).freq_cnt + (c)) >> (FREQ_BITS - SIN_BITS)) &           \
                         (SIN_ENT-1)] * envtable[(e)]) >> (ENVTBL_BIT+SINTBL_BIT-TL_BITS))                          (SIN_ENT-1)] * envtable[(e)]) >> (ENVTBL_BIT+SINTBL_BIT-TL_BITS))
   
   #if 0
 static SINT32 calcrateenvlope(OPNSLOT *slot) {  static SINT32 calcrateenvlope(OPNSLOT *slot) {
   
         /* calcrate phage generator */          /* calcrate phage generator */
Line 81  static SINT32 calcrateenvlope(OPNSLOT *s Line 81  static SINT32 calcrateenvlope(OPNSLOT *s
         }          }
         return(slot->totallevel - env_curve[slot->env_cnt >> ENV_BITS]);          return(slot->totallevel - env_curve[slot->env_cnt >> ENV_BITS]);
 }  }
   #endif
   
 static void calcratechannel(OPNCH *ch) {  static void calcratechannel(OPNCH *ch) {
   

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


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