Ignore:
Timestamp:
01/05/08 11:40:24 (16 years ago)
Author:
radscorpion
Message:

SV7 demuxing and decoding works.
However there are strange artifacts when seeking in SV7 files.. - TODO

File:
1 edited

Legend:

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

    r375 r379  
    139139        ListView_SetItemText(ITEM(IDC_LIST_CONTENT), item, 1, val.GetBuffer());
    140140
     141        // Gains
     142        i.pszText = _T("Album gain");   i.iItem = 4;
     143        val.Format(_T("%3.2f dB"), info.gain_album_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("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);
     159        item = ListView_InsertItem(ITEM(IDC_LIST_CONTENT), &i);
     160        ListView_SetItemText(ITEM(IDC_LIST_CONTENT), item, 1, val.GetBuffer());
     161
    141162        if (info.stream_version == 8) {
    142 
    143                 // Channels
    144                 i.pszText = _T("Frames per packet");    i.iItem = 4;
     163                // Frames per packet
     164                i.pszText = _T("Frames per packet");    i.iItem = 8;
    145165                val.Format(_T("%d"), info.block_frames);
    146166                item = ListView_InsertItem(ITEM(IDC_LIST_CONTENT), &i);
    147167                ListView_SetItemText(ITEM(IDC_LIST_CONTENT), item, 1, val.GetBuffer());
     168        }
    148169
    149         }
    150170}
    151171
Note: See TracChangeset for help on using the changeset viewer.