Show
Ignore:
Timestamp:
01/01/08 11:31:39 (14 years ago)
Author:
ppalmers
Message:

- move #define constants to config.h.in
- switch receive handler over to packet-per-buffer mode to improve latency performance

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libieee1394/IsoHandlerManager.h

    r795 r796  
    2525#define __FFADO_ISOHANDLERMANAGER__ 
    2626 
     27#include "config.h" 
     28 
    2729#include "debugmodule/debugmodule.h" 
    2830 
     
    3436#include <vector> 
    3537 
    36 //#define THREAD_PER_ISOHANDLER 
    37  
    38 #define FFADO_MAX_ISO_HANDLERS_PER_PORT 16 
    39  
    40 #define USLEEP_AFTER_UPDATE_FAILURE 10 
    41 #define USLEEP_AFTER_UPDATE 100 
    42 #define MAX_UPDATE_TRIES 10 
    4338class Ieee1394Service; 
    4439 
     
    7469    private: 
    7570        // shadow variables 
    76         struct pollfd m_poll_fds_shadow[FFADO_MAX_ISO_HANDLERS_PER_PORT]; 
    77         IsoHandler *m_IsoHandler_map_shadow[FFADO_MAX_ISO_HANDLERS_PER_PORT]; 
     71        struct pollfd m_poll_fds_shadow[ISOHANDLERMANAGER_MAX_ISO_HANDLERS_PER_PORT]; 
     72        IsoHandler *m_IsoHandler_map_shadow[ISOHANDLERMANAGER_MAX_ISO_HANDLERS_PER_PORT]; 
    7873        unsigned int m_poll_nfds_shadow; 
    7974