00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #define PRINTDEBUG
00021
00022 #define VERSION "0.61"
00023
00024 #define FORK_SERVER 1
00025
00026 #define BUFFER_SIZE_MAX 8192
00027
00028 #define JACK_PORT_NAME_SIZE 256
00029 #define JACK_PORT_TYPE_SIZE 32
00030
00031 #define JACK_CLIENT_NAME_SIZE 64
00032
00033 #define FIRST_AVAILABLE_PORT 1
00034 #define PORT_NUM 512
00035 #define PORT_NUM_FOR_CLIENT 256
00036
00037 #define CONNECTION_NUM 256
00038
00039 #define CLIENT_NUM 64
00040
00041 #define AUDIO_DRIVER_REFNUM 0 // Audio driver is initialized first, it will get the refnum 0
00042 #define FREEWHEEL_DRIVER_REFNUM 1 // Freewheel driver is initialized second, it will get the refnum 1
00043 #define LOOPBACK_DRIVER_REFNUM 2 // Loopback driver is initialized third, it will get the refnum 2
00044 #define REAL_REFNUM LOOPBACK_DRIVER_REFNUM + 1 // Real clients start at LOOPBACK_DRIVER_REFNUM + 1
00045
00046 #define SOCKET_TIME_OUT 5
00047
00048 #ifdef WIN32
00049 #define jack_server_dir "server"
00050 #define jack_client_dir "client"
00051 #elif __APPLE__
00052 #define jack_server_dir "/tmp"
00053 #define jack_client_dir "/tmp"
00054 #else
00055 #define jack_server_dir "/dev/shm"
00056 #define jack_client_dir "/dev/shm"
00057 #endif
00058
00059 #define jack_server_entry "jackdmp_entry"
00060 #define jack_client_entry "jack_client"
00061
00062 #define ALL_CLIENTS -1 // for notification