Changeset 931

Show
Ignore:
Timestamp:
03/11/08 04:59:23 (13 years ago)
Author:
ppalmers
Message:

change some defaults; cleanup

Files:

Legend:

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

    r930 r931  
    4141#define IEEE1394SERVICE_USE_CYCLETIMER_DLL  1 
    4242#define IEEE1394SERVICE_CYCLETIMER_DLL_UPDATE_INTERVAL_USEC 200000 
    43 #define IEEE1394SERVICE_MAX_FIREWIRE_PORTS  16 
     43#define IEEE1394SERVICE_MAX_FIREWIRE_PORTS  4 
    4444 
    4545#define IEEE1394SERVICE_CYCLETIMER_HELPER_RUN_REALTIME    1 
     
    7777#define STREAMPROCESSORMANAGER_SIGNAL_DELAY_TICKS           (3072*6) 
    7878 
     79// startup control 
    7980#define STREAMPROCESSORMANAGER_CYCLES_FOR_DRYRUN            40000 
    8081#define STREAMPROCESSORMANAGER_CYCLES_FOR_STARTUP           200 
     
    113114// packets early if we want to. (not completely according to spec) 
    114115// (for spec compliance you need to specify a value of 1 or 2) 
    115 #define AMDTP_MAX_CYCLES_TO_TRANSMIT_EARLY                  6 
     116#define AMDTP_MAX_CYCLES_TO_TRANSMIT_EARLY                  2 
    116117 
    117118// ensure that the AMDTP SP clips all float values to [-1.0..1.0] 
  • trunk/libffado/src/libieee1394/IsoHandlerManager.cpp

    r930 r931  
    564564    } 
    565565 
    566     // set the handler's thread parameters 
    567     // receive handlers have lower priority than the client thread 
    568     // since they have ISO side buffering 
    569     // xmit handlers have higher priority since we want client side 
    570     // frames to be put into the ISO buffers ASAP 
    571     int thread_prio; 
    572     if (stream->getType()==StreamProcessor::ePT_Receive) { 
    573         thread_prio = m_priority - 1; 
    574         if (thread_prio < THREAD_MIN_RTPRIO) thread_prio = THREAD_MIN_RTPRIO; 
    575     } else { 
    576         thread_prio = m_priority + 1; 
    577         if (thread_prio > THREAD_MAX_RTPRIO) thread_prio = THREAD_MAX_RTPRIO; 
    578     } 
    579  
    580566    // register the stream with the handler 
    581567    if(!h->registerStream(stream)) {