Changeset 1850

Show
Ignore:
Timestamp:
06/12/10 06:53:01 (2 years ago)
Author:
jwoithe
Message:

RME: inform the IsoHandlerManager? associated with the device that missed packets are acceptable for this interface. This prevents the IsoHandlerManager? from attempting to correct for something which isn't an issue with these interfaces.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/rme/rme_avdevice.cpp

    r1847 r1850  
    3333#include "libieee1394/configrom.h" 
    3434#include "libieee1394/ieee1394service.h" 
     35#include "libieee1394/IsoHandlerManager.h" 
    3536 
    3637#include "debugmodule/debugmodule.h" 
     
    526527    debugOutput(DEBUG_LEVEL_NORMAL, "Preparing Device...\n" ); 
    527528 
     529    // If there is no iso data to send in a given cycle the RMEs simply 
     530    // don't send anything.  This is in contrast to most other interfaces 
     531    // which at least send an empty packet.  As a result the IsoHandler 
     532    // contains code which detects missing packets as dropped packets. 
     533    // For RME devices we must turn this test off since missing packets 
     534    // are in fact to be expected. 
     535    get1394Service().getIsoHandlerManager().setMissedCyclesOK(true); 
     536 
    528537    freq = getSamplingFrequency(); 
    529538    if (freq <= 0) {