root/trunk/libffado/config.h.in

Revision 797, 2.3 kB (checked in by ppalmers, 13 years ago)

parameters for better latency performance

Line 
1 /* config.h.in. */
2 #ifndef CONFIG_H
3 #define CONFIG_H
4
5 /* Name of package */
6 #define PACKAGE $PACKAGE
7
8 /* Define to the address where bug reports for this package should be sent. */
9 #define PACKAGE_BUGREPORT "<ffado-devel@lists.sf.net>"
10
11 /* Define to the full name of this package. */
12 #define PACKAGE_NAME "$PACKAGE"
13
14 /* Define to the full name and version of this package. */
15 #define PACKAGE_STRING "$PACKAGE $VERSION-$REVISION"
16
17 /* Define to the one symbol short name of this package. */
18 #define PACKAGE_TARNAME "$PACKAGE"
19
20 /* Define to the version of this package. */
21 #define PACKAGE_VERSION "$VERSION-$REVISION"
22
23 /* Define to the version of the cace. */
24 #define CACHE_VERSION "$VERSION-$REVISION"
25
26 /* Define to the api version */
27 #define FFADO_API_VERSION $FFADO_API_VERSION
28
29 /* Define to 1 if SSE assembly is available. */
30 #define USE_SSE $USE_SSE
31
32 #define CACHEDIR "~/.ffado"
33
34 #define LIBDIR "$libdir"
35
36 #define SHAREDIR "$sharedir"
37
38 #define MINIMUM_INTERRUPTS_PER_PERIOD   2U
39 #define MAX_ISO_XMIT_BUFFER_FILL_PCT    50
40
41 #define ISOHANDLER_PER_HANDLER_THREAD   0
42 #define ISOHANDLER_USE_POLL             0
43
44 #define ISOHANDLERMANAGER_MAX_ISO_HANDLERS_PER_PORT         16
45
46 // allows to add some processing margin. This shifts the time
47 // at which the buffer is transfer()'ed, making things somewhat
48 // more robust. It should be noted though that shifting the transfer
49 // time to a later time instant also causes the xmit buffer fill to be
50 // lower on average.
51 #define STREAMPROCESSORMANAGER_SIGNAL_DELAY_TICKS           (3072*1)
52
53 #define STREAMPROCESSORMANAGER_CYCLES_FOR_DRYRUN            40000
54 #define STREAMPROCESSORMANAGER_CYCLES_FOR_STARTUP           2000
55 #define STREAMPROCESSORMANAGER_PRESTART_CYCLES_FOR_XMIT     20
56 #define STREAMPROCESSORMANAGER_PRESTART_CYCLES_FOR_RECV     0
57 #define STREAMPROCESSORMANAGER_ALIGN_AVERAGE_TIME_MSEC      200
58 #define STREAMPROCESSORMANAGER_NB_ALIGN_TRIES               40
59
60 #define STREAMPROCESSORMANAGER_DYNAMIC_SYNC_DELAY           0
61
62 // FIXME: note that it will probably be better to use a DLL bandwidth that is
63 //        dependant on the sample rate
64 #define TIMESTAMPEDBUFFER_DLL_BANDWIDTH                     (0.01)
65
66 // in ticks
67 // as per AMDTP2.1:
68 // 354.17us + 125us @ 24.576ticks/usec = 11776.08192 ticks
69 #define AMDTP_TRANSMIT_TRANSFER_DELAY   (11776U)
70
71 #define MOTU_TRANSMIT_TRANSFER_DELAY    (11776U)
72
73 #endif // CONFIG_H
Note: See TracBrowser for help on using the browser.