Changeset 936

Show
Ignore:
Timestamp:
03/12/08 02:52:50 (13 years ago)
Author:
ppalmers
Message:

add option to skip IEC61883 bandwidth allocation (bogus anyway)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/config.h.in

    r931 r936  
    4545#define IEEE1394SERVICE_CYCLETIMER_HELPER_RUN_REALTIME    1 
    4646#define IEEE1394SERVICE_CYCLETIMER_HELPER_PRIO_INCREASE  -10 
     47 
     48// The current version of libiec61883 doesn't seem to calculate 
     49// the bandwidth correctly. Defining this to non-zero skips 
     50// bandwidth allocation when doing CMP connections. 
     51#define IEEE1394SERVICE_SKIP_IEC61883_BANDWIDTH_ALLOCATION 1 
    4752 
    4853#define THREAD_MAX_RTPRIO                   98 
  • trunk/libffado/src/libieee1394/ieee1394service.cpp

    r932 r936  
    925925    int c = -1; 
    926926    int bandwidth=1; 
     927    #if IEEE1394SERVICE_SKIP_IEC61883_BANDWIDTH_ALLOCATION 
     928    bandwidth=0; 
     929    #endif 
    927930 
    928931    // do connection management: make connection