Changeset 1962

Show
Ignore:
Timestamp:
03/04/11 04:31:36 (10 years ago)
Author:
jwoithe
Message:

digidesign: add configuration options for the skeleton digidesign driver

Files:

Legend:

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

    r1950 r1962  
    239239#define RME_CLIP_FLOATS                                   1 
    240240 
     241// -- Digidesign options -- // 
     242// 
     243// Currently these are just verbatim copies of the values which 
     244// seem to work for MOTU devices.  Some tweaks may well be  
     245// necessary once testing begins with real devices. 
     246 
     247// the transfer delay is substracted from the ideal presentation 
     248// time to obtain a corrected presentation time. This values is 
     249// then used to stamp the packet and determine the transmission 
     250// time instant. 
     251#define DIGIDESIGN_TRANSMIT_TRANSFER_DELAY    (0U) 
     252 
     253// the absolute minimum number of cycles we want to transmit 
     254// a packet ahead of the presentation time. The nominal time 
     255// the packet is transmitted ahead of the presentation time is 
     256// given by DIGIDESIGN_TRANSMIT_TRANSFER_DELAY (in ticks), but  
     257// in case we are too late for that, this constant defines how  
     258// late we can be. 
     259#define DIGIDESIGN_MIN_CYCLES_BEFORE_PRESENTATION                0 
     260 
     261// the absolute maximum number of cycles we want to transmit 
     262// a packet ahead of the ideal transmit time. The nominal time 
     263// the packet is transmitted ahead of the presentation time is 
     264// given by DIGIDESIGN_TRANSMIT_TRANSFER_DELAY (in ticks), but  
     265// we can send packets early if we want to. 
     266#define DIGIDESIGN_MAX_CYCLES_TO_TRANSMIT_EARLY                  2 
     267 
     268// ensure that the DIGIDESIGN tx SP clips all float values to [-1.0..1.0] 
     269#define DIGIDESIGN_CLIP_FLOATS                                   1 
     270 
    241271/// The unavoidable device specific hacks 
    242272