IltmmCapture::EstimateOutputBitRate Example for C

void IltmmCapture_EstimateOutputBitRate_Example (IltmmCapture* pCapture)
{
   double BitRate;

   // get the estimate bit rate before capturing starts (theoretical)
   IltmmCapture_EstimateOutputBitRate (pCapture, &BitRate);

   // After starting capture, get the estimate output bit rate (estimate from actually written bytes)
   IltmmCapture_EstimateOutputBitRate (pCapture, &BitRate); 
 
   // do something with the returned values.
}