Changeset 262 for libmpc/branches/r2d/libmpcdec/mpc_demux.c
- Timestamp:
- 04/12/07 22:53:35 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/libmpcdec/mpc_demux.c
r226 r262 482 482 peak = 1.; 483 483 else 484 peak = (1 << 15) / __builtin_powf(10, peak / (20 * 256));484 peak = (1 << 15) / powf(10, peak / (20 * 256)); 485 485 486 486 if(!gain) 487 487 gain = 1.; 488 488 else 489 gain = __builtin_powf(10, (level - gain / 256) / 20);489 gain = powf(10, (level - gain / 256) / 20); 490 490 491 491 if(clip_prevention && (peak < gain || !use_gain))
Note: See TracChangeset
for help on using the changeset viewer.