Changeset 323 for libmpc/trunk/mpcdec/mpcdec.c
- Timestamp:
- 05/12/07 12:43:05 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/mpcdec/mpcdec.c
r318 r323 73 73 printf("length: %d:%.2d (%u samples)\n", minutes, seconds, (mpc_uint32_t)mpc_streaminfo_get_length_samples(info)); 74 74 printf("file size: %d Bytes\n", info->total_file_length); 75 printf("track peak: %2.2f dB\n", info->peak_title / 256. );76 printf("track gain: %2.2f dB / %2.2f dB\n", info->gain_title / 256. , info->gain_title == 0 ? 0 : 65. - info->gain_title / 256.);77 printf("album peak: %2.2f dB\n", info->peak_album / 256. );78 printf("album gain: %2.2f dB / %2.2f dB\n", info->gain_album / 256. , info->gain_album == 0 ? 0 : 65. - info->gain_album / 256.);75 printf("track peak: %2.2f dB\n", info->peak_title / 256.f); 76 printf("track gain: %2.2f dB / %2.2f dB\n", info->gain_title / 256.f, info->gain_title == 0 ? 0 : 64.82f - info->gain_title / 256.f); 77 printf("album peak: %2.2f dB\n", info->peak_album / 256.f); 78 printf("album gain: %2.2f dB / %2.2f dB\n", info->gain_album / 256.f, info->gain_album == 0 ? 0 : 64.82f - info->gain_album / 256.f); 79 79 printf("\n"); 80 80
Note: See TracChangeset
for help on using the changeset viewer.