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

change some defaults; cleanup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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)) {