Ignore:
Timestamp:
04/12/07 22:53:35 (17 years ago)
Author:
zorg
Message:

Fix cmake for mpcgain
Remove builtin math functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/libmpcdec/mpc_demux.c

    r226 r262  
    482482                peak = 1.;
    483483        else
    484                 peak = (1 << 15) / __builtin_powf(10, peak / (20 * 256));
     484                peak = (1 << 15) / powf(10, peak / (20 * 256));
    485485
    486486        if(!gain)
    487487                gain = 1.;
    488488        else
    489                 gain = __builtin_powf(10, (level - gain / 256) / 20);
     489                gain = powf(10, (level - gain / 256) / 20);
    490490
    491491        if(clip_prevention && (peak < gain || !use_gain))
Note: See TracChangeset for help on using the changeset viewer.