Changeset 283 for trunk/Utilities/DumpMediaSamples
- Timestamp:
- Apr 25, 2014, 1:55:51 AM (10 years ago)
- Location:
- trunk/Utilities/DumpMediaSamples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/DumpMediaSamples/DumpMediaSamples.cpp
r217 r283 310 310 for(nIndex = 0; nIndex < (SIZE_T) Properties.lActual && nIndex < g_nMaximalPrintSize; nIndex++) 311 311 sBuffer.AppendFormat(_T("%02X "), Properties.pbBuffer[nIndex]); 312 UINT32 nBufferCheck = 0; 313 for(nIndex = 0; nIndex < (SIZE_T) Properties.lActual; nIndex++) 314 nBufferCheck += (UINT8) Properties.pbBuffer[nIndex]; 312 315 if(nIndex > g_nMaximalPrintSize) 313 316 sBuffer.Append(_T("...")); 314 _tprintf(_T("%s") _T(".cbBuffer %d, .lActual %d, pbBuffer %s \n"),317 _tprintf(_T("%s") _T(".cbBuffer %d, .lActual %d, pbBuffer %s [0x%08X]\n"), 315 318 m_sNamePrefix, 316 319 Properties.cbBuffer, 317 320 Properties.lActual, 318 321 sBuffer, 322 nBufferCheck, 319 323 0); 320 324 } 321 //_tprintf(_T("%s") _T("Time, %s") _T("\n"),322 //m_sNamePrefix,323 //_StringHelper::Join(TimeArray, _T(", ")),324 //0);325 _tprintf(_T("%s") _T("Time, %s") _T("\n"), 326 m_sNamePrefix, 327 _StringHelper::Join(TimeArray, _T(", ")), 328 0); 325 329 if(m_pHandler) 326 330 m_pHandler->HandleSample(Properties);
Note: See TracChangeset
for help on using the changeset viewer.