Ignore:
Timestamp:
01/05/08 20:49:27 (16 years ago)
Author:
radscorpion
Message:

Fixed SV7 seeking artifacts. Fixed gain info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dsfilters/demux_mpc/src/mpc_prop.cpp

    r379 r380  
    140140
    141141        // Gains
    142         i.pszText = _T("Album gain");   i.iItem = 4;
     142        i.pszText = _T("Title gain");   i.iItem = 4;
     143        val.Format(_T("%3.2f dB"), info.gain_title_db);
     144        item = ListView_InsertItem(ITEM(IDC_LIST_CONTENT), &i);
     145        ListView_SetItemText(ITEM(IDC_LIST_CONTENT), item, 1, val.GetBuffer());
     146
     147        i.pszText = _T("Title peak");   i.iItem = 5;
     148        val.Format(_T("%8.6f"), info.gain_title_peak_db);
     149        item = ListView_InsertItem(ITEM(IDC_LIST_CONTENT), &i);
     150        ListView_SetItemText(ITEM(IDC_LIST_CONTENT), item, 1, val.GetBuffer());
     151
     152        i.pszText = _T("Album gain");   i.iItem = 6;
    143153        val.Format(_T("%3.2f dB"), info.gain_album_db);
    144154        item = ListView_InsertItem(ITEM(IDC_LIST_CONTENT), &i);
    145155        ListView_SetItemText(ITEM(IDC_LIST_CONTENT), item, 1, val.GetBuffer());
    146156
    147         i.pszText = _T("Album peak");   i.iItem = 5;
    148         val.Format(_T("%3.2f dB"), info.gain_album_peak_db);
    149         item = ListView_InsertItem(ITEM(IDC_LIST_CONTENT), &i);
    150         ListView_SetItemText(ITEM(IDC_LIST_CONTENT), item, 1, val.GetBuffer());
    151 
    152         i.pszText = _T("Title gain");   i.iItem = 6;
    153         val.Format(_T("%3.2f dB"), info.gain_title_db);
    154         item = ListView_InsertItem(ITEM(IDC_LIST_CONTENT), &i);
    155         ListView_SetItemText(ITEM(IDC_LIST_CONTENT), item, 1, val.GetBuffer());
    156 
    157         i.pszText = _T("Title peak");   i.iItem = 7;
    158         val.Format(_T("%3.2f dB"), info.gain_title_peak_db);
     157        i.pszText = _T("Album peak");   i.iItem = 7;
     158        val.Format(_T("%8.6f"), info.gain_album_peak_db);
    159159        item = ListView_InsertItem(ITEM(IDC_LIST_CONTENT), &i);
    160160        ListView_SetItemText(ITEM(IDC_LIST_CONTENT), item, 1, val.GetBuffer());
Note: See TracChangeset for help on using the changeset viewer.