Changeset 1279

Show
Ignore:
Timestamp:
07/08/08 11:37:16 (13 years ago)
Author:
ppalmers
Message:

use 1 cycle advance transmit (seems to make saffire operation more robust)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/libffado-2.0/config.h.in

    r1238 r1279  
    194194// packets early if we want to. (not completely according to spec) 
    195195// (for spec compliance you need to specify a value of 0) 
    196 #define AMDTP_MAX_CYCLES_TO_TRANSMIT_EARLY                  0 
     196#define AMDTP_MAX_CYCLES_TO_TRANSMIT_EARLY                  1 
    197197 
    198198// ensure that the AMDTP SP clips all float values to [-1.0..1.0] 
  • branches/libffado-2.0/tests/dbus_test.py

    r1272 r1279  
    303303    nickname = TextInterface( server, basepath+"/DeviceManager/"+path+"/Generic/Nickname" ) 
    304304 
     305    import time 
     306    register = range(60) 
    305307    # do whatever you have to do 
     308    for i in range(60): 
     309        for regid in range(60): 
     310            newval = hw.getRegister("/Register", regid) 
     311            oldval = register[regid] 
     312            if newval != oldval: 
     313                print "%04d: from %8d | %08X to %8d | %08X" % (regid, oldval, oldval, newval, newval) 
     314                register[regid] = newval 
     315            time.sleep(0.2) 
     316        print "--- %d ---" % i 
     317        #time.sleep(1) 
     318 
     319    #regid=eval(sys.argv[1]) 
     320    #val=eval(sys.argv[2]) 
     321    #print hw.getRegister("/Register", regid) 
     322    #hw.setRegister("/Register", regid, val) 
    306323     
    307     print hw.getRegister("/Register", 110) 
    308     hw.setRegister("/Register", 110, 1) 
    309