Ignore:
Timestamp:
05/09/07 23:07:00 (17 years ago)
Author:
r2d
Message:

Added sample number in file info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xmms-musepack/branches/r2d/src/libmpc.cpp

    r292 r313  
    543543            mpcGtkPrintLabel(rateLabel,      "Samplerate: \%d Hz", info.sample_freq);
    544544            mpcGtkPrintLabel(channelsLabel,  "Channels: \%d", info.channels);
    545             mpcGtkPrintLabel(lengthLabel,    "Length: \%d:\%.2d", minutes, seconds);
     545                        mpcGtkPrintLabel(lengthLabel,    "Length: \%d:\%.2d (%u samples)", minutes, seconds, (mpc_uint32_t)mpc_streaminfo_get_length_samples(&info));
    546546            mpcGtkPrintLabel(fileSizeLabel,  "File size: \%d Bytes", info.total_file_length);
    547547                        mpcGtkPrintLabel(trackPeakLabel, "Track Peak: \%2.2f dB", info.peak_title / 256.);
Note: See TracChangeset for help on using the changeset viewer.