Changeset 163
- Timestamp:
- 12/19/06 12:08:38 (18 years ago)
- Location:
- libmpc/branches/r2d/mpcdec
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/mpcdec/Makefile.am
r137 r163 3 3 bin_PROGRAMS = mpcdec 4 4 mpcdec_SOURCES = mpcdec.c 5 mpcdec_LDADD = $(top_builddir)/libwavformat/libwavformat.a\ 6 $(top_builddir)/libmpcdec/libmpcdec.la -
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.