Ignore:
Timestamp:
02/17/07 16:14:53 (18 years ago)
Author:
r2d
Message:
  • speed improvements (mainly inlining)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/mpcdec/mpcdec.c

    r195 r219  
    118118
    119119    printf("%u samples ", total_samples);
    120     total_samples = (mpc_uint32_t) ((double) total_samples * CLOCKS_PER_SEC * 100 / (si.sample_freq * sum));
     120        total_samples = (mpc_uint32_t) ((mpc_uint64_t) total_samples * CLOCKS_PER_SEC * 100 / ((mpc_uint64_t)si.sample_freq * sum));
    121121    printf("decoded in %u ms (%u.%02ux)\n",
    122122                   (unsigned int) (sum * 1000 / CLOCKS_PER_SEC),
Note: See TracChangeset for help on using the changeset viewer.