Changeset 285
- Timestamp:
 - 04/20/07 23:17:38 (19 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          libmpc/branches/r2d/libmpcdec/mpc_demux.c (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
libmpc/branches/r2d/libmpcdec/mpc_demux.c
r284 r285 503 503 peak = 1.; 504 504 else 505 peak = (1 << 15) / pow f(10, peak / (20 * 256));505 peak = (1 << 15) / pow(10, peak / (20 * 256)); 506 506 507 507 if(!gain) 508 508 gain = 1.; 509 509 else 510 gain = pow f(10, (level - gain / 256) / 20);510 gain = pow(10, (level - gain / 256) / 20); 511 511 512 512 if(clip_prevention && (peak < gain || !use_gain))  
Note: See TracChangeset
          for help on using the changeset viewer.
      