Changeset 316 for libmpc/trunk/mpcdec


Ignore:
Timestamp:
05/10/07 00:25:47 (18 years ago)
Author:
r2d
Message:

Added old gain view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/mpcdec/mpcdec.c

    r315 r316  
    7474        printf("file size: \%d Bytes\n", info->total_file_length);
    7575        printf("track peak: \%2.2f dB\n", info->peak_title / 256.);
    76         printf("track gain: \%2.2f dB\n", info->gain_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.);
    7777        printf("album peak: \%2.2f dB\n", info->peak_album / 256.);
    78         printf("album gain: \%2.2f dB\n", info->gain_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.);
    7979        printf("\n");
    8080
Note: See TracChangeset for help on using the changeset viewer.