Changeset 931
- Timestamp:
- 03/11/08 04:59:23 (13 years ago)
- Files:
-
- trunk/libffado/config.h.in (modified) (3 diffs)
- trunk/libffado/src/libieee1394/IsoHandlerManager.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/config.h.in
r930 r931 41 41 #define IEEE1394SERVICE_USE_CYCLETIMER_DLL 1 42 42 #define IEEE1394SERVICE_CYCLETIMER_DLL_UPDATE_INTERVAL_USEC 200000 43 #define IEEE1394SERVICE_MAX_FIREWIRE_PORTS 1643 #define IEEE1394SERVICE_MAX_FIREWIRE_PORTS 4 44 44 45 45 #define IEEE1394SERVICE_CYCLETIMER_HELPER_RUN_REALTIME 1 … … 77 77 #define STREAMPROCESSORMANAGER_SIGNAL_DELAY_TICKS (3072*6) 78 78 79 // startup control 79 80 #define STREAMPROCESSORMANAGER_CYCLES_FOR_DRYRUN 40000 80 81 #define STREAMPROCESSORMANAGER_CYCLES_FOR_STARTUP 200 … … 113 114 // packets early if we want to. (not completely according to spec) 114 115 // (for spec compliance you need to specify a value of 1 or 2) 115 #define AMDTP_MAX_CYCLES_TO_TRANSMIT_EARLY 6116 #define AMDTP_MAX_CYCLES_TO_TRANSMIT_EARLY 2 116 117 117 118 // ensure that the AMDTP SP clips all float values to [-1.0..1.0] trunk/libffado/src/libieee1394/IsoHandlerManager.cpp
r930 r931 564 564 } 565 565 566 // set the handler's thread parameters567 // receive handlers have lower priority than the client thread568 // since they have ISO side buffering569 // xmit handlers have higher priority since we want client side570 // frames to be put into the ISO buffers ASAP571 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 580 566 // register the stream with the handler 581 567 if(!h->registerStream(stream)) {