Changeset 219 for libmpc/branches/r2d/mpcdec/mpcdec.c
- Timestamp:
- 02/17/07 16:14:53 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/mpcdec/mpcdec.c
r195 r219 118 118 119 119 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)); 121 121 printf("decoded in %u ms (%u.%02ux)\n", 122 122 (unsigned int) (sum * 1000 / CLOCKS_PER_SEC),
Note: See TracChangeset
for help on using the changeset viewer.