Changeset 251


Ignore:
Timestamp:
03/28/07 20:56:29 (18 years ago)
Author:
r2d
Message:

More details on files (gain info)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • winamp-musepack/trunk/mpc_player.cpp

    r250 r251  
    312312        tmp << "\nChannels : " << si.channels;
    313313        tmp << "\nFile size : " << si.total_file_length << " Bytes";
    314         //// FIXME : add replay gain info, lenth (min:sec), sample number
     314        tmp << "\nDuration : " << si.samples / (60 * si.sample_freq) << ":" << (si.samples / si.sample_freq) % 60;
     315        tmp << "\nSamples : " << si.samples;
     316        tmp << "\nTrack Peak : " << si.peak_title / 256. << " dB";
     317        tmp << "\nTrack Gain : " << si.gain_title / 256. << " dB";
     318        tmp << "\nAlbum Peak : " << si.peak_album / 256. << " dB";
     319        tmp << "\nAlbum Gain : " << si.gain_album / 256. << " dB";
    315320
    316321        SetDlgItemText(hDlg, IDC_STREAM_INFO, tmp.str().c_str());
Note: See TracChangeset for help on using the changeset viewer.