Changeset 1950

Show
Ignore:
Timestamp:
01/27/11 01:22:25 (10 years ago)
Author:
adi
Message:

Fix AMDTP_TRANSMIT_TRANSFER_DELAY

As pointed out bx Clemens Ladisch in #321, we had 125us too much.

Files:

Legend:

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

    r1809 r1950  
    154154 
    155155// in ticks 
    156 // as per AMDTP2.1: 
    157 // 354.17us + 125us @ 24.576ticks/usec = 11776.08192 ticks 
    158 #define AMDTP_TRANSMIT_TRANSFER_DELAY   (11776U) 
     156// as per AMDTP2.1: 354.17us + 125us, but FFADO measures from the 
     157// packet transmission time, so subtract 125 us: 
     158// 354.17us @ 24.576ticks/usec = 8704 ticks 
     159#define AMDTP_TRANSMIT_TRANSFER_DELAY   (8704U) 
    159160 
    160161// the absolute minimum number of cycles we want to transmit