Changeset 163 for libmpc/branches/r2d/mpcdec/mpcdec.c
- Timestamp:
- 12/19/06 12:08:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/mpcdec/mpcdec.c
r162 r163 99 99 while(MPC_TRUE) 100 100 { 101 mpc_frame_info frame; mpc_uint32_t samples;101 mpc_frame_info frame; 102 102 103 103 frame.buffer = sample_buffer; … … 118 118 total_samples = (mpc_uint32_t) ((double) total_samples * CLOCKS_PER_SEC * 100 / (si.sample_freq * sum)); 119 119 printf("decoded in %u ms (%u.%02ux)\n", 120 sum * 1000 / CLOCKS_PER_SEC,120 (unsigned int) (sum * 1000 / CLOCKS_PER_SEC), 121 121 total_samples / 100, 122 122 total_samples % 100
Note: See TracChangeset
for help on using the changeset viewer.