git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2957 0c269be4-1314-0410-8aa9-9f06e86f4224tags/1.90
@@ -27,6 +27,7 @@ Michael Voigt | |||||
* Correct file permission for jack-shm-registry POSIX shared memory segment. | * Correct file permission for jack-shm-registry POSIX shared memory segment. | ||||
* Checking for libsamplerate in waf, fix ticket #89." | * Checking for libsamplerate in waf, fix ticket #89." | ||||
* Header cleanup, add --clients and --ports options in configure. | |||||
2008-09-22 Stephane Letz <letz@grame.fr> | 2008-09-22 Stephane Letz <letz@grame.fr> | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackClient.h" | #include "JackClient.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include "JackGraphManager.h" | #include "JackGraphManager.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackAtomic.h" | #include "JackAtomic.h" | ||||
#include "JackActivationCount.h" | #include "JackActivationCount.h" | ||||
#include "JackConstants.h" | #include "JackConstants.h" | ||||
@@ -20,10 +20,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
#ifndef __JackAudioAdapterInterface__ | #ifndef __JackAudioAdapterInterface__ | ||||
#define __JackAudioAdapterInterface__ | #define __JackAudioAdapterInterface__ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "ringbuffer.h" | #include "ringbuffer.h" | ||||
#include "jack.h" | #include "jack.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -18,12 +18,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSystemDeps.h" | #include "JackSystemDeps.h" | ||||
#include "JackAudioDriver.h" | #include "JackAudioDriver.h" | ||||
#include "JackTime.h" | #include "JackTime.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackPortType.h" | #include "JackPortType.h" | ||||
#include <string.h> | #include <string.h> | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackClient.h" | #include "JackClient.h" | ||||
#include "JackGraphManager.h" | #include "JackGraphManager.h" | ||||
#include "JackClientControl.h" | #include "JackClientControl.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include <iostream> | #include <iostream> | ||||
#include <assert.h> | #include <assert.h> | ||||
#include "JackConnectionManager.h" | #include "JackConnectionManager.h" | ||||
@@ -20,8 +20,12 @@ | |||||
#ifndef __JackConstants__ | #ifndef __JackConstants__ | ||||
#define __JackConstants__ | #define __JackConstants__ | ||||
namespace Jack | |||||
{ | |||||
#ifdef HAVE_CONFIG_H | |||||
#include "config.h" | |||||
#endif | |||||
//namespace Jack | |||||
//{ | |||||
#define VERSION "1.90" | #define VERSION "1.90" | ||||
@@ -32,14 +36,19 @@ namespace Jack | |||||
#define JACK_CLIENT_NAME_SIZE 64 | #define JACK_CLIENT_NAME_SIZE 64 | ||||
#define FIRST_AVAILABLE_PORT 1 | |||||
#ifndef PORT_NUM | |||||
#define PORT_NUM 512 | #define PORT_NUM 512 | ||||
#endif | |||||
#define DRIVER_PORT_NUM 256 | #define DRIVER_PORT_NUM 256 | ||||
#define PORT_NUM_FOR_CLIENT 256 | #define PORT_NUM_FOR_CLIENT 256 | ||||
#define FIRST_AVAILABLE_PORT 1 | |||||
#define CONNECTION_NUM_FOR_PORT 256 | #define CONNECTION_NUM_FOR_PORT 256 | ||||
#ifndef CLIENT_NUM | |||||
#define CLIENT_NUM 64 | #define CLIENT_NUM 64 | ||||
#endif | |||||
#define AUDIO_DRIVER_REFNUM 0 // Audio driver is initialized first, it will get the refnum 0 | #define AUDIO_DRIVER_REFNUM 0 // Audio driver is initialized first, it will get the refnum 0 | ||||
#define FREEWHEEL_DRIVER_REFNUM 1 // Freewheel driver is initialized second, it will get the refnum 1 | #define FREEWHEEL_DRIVER_REFNUM 1 // Freewheel driver is initialized second, it will get the refnum 1 | ||||
@@ -82,6 +91,6 @@ namespace Jack | |||||
#define EMPTY 0xFFFD | #define EMPTY 0xFFFD | ||||
#define FREE 0xFFFC | #define FREE 0xFFFC | ||||
} // end of namespace | |||||
//} // end of namespace | |||||
#endif | #endif |
@@ -20,10 +20,6 @@ | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#ifndef WIN32 | #ifndef WIN32 | ||||
#include <stdbool.h> | #include <stdbool.h> | ||||
#include <stdint.h> | #include <stdint.h> | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackDebugClient.h" | #include "JackDebugClient.h" | ||||
#include "JackEngineControl.h" | #include "JackEngineControl.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSystemDeps.h" | #include "JackSystemDeps.h" | ||||
#include "JackDriver.h" | #include "JackDriver.h" | ||||
#include "JackTime.h" | #include "JackTime.h" | ||||
@@ -18,23 +18,18 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSystemDeps.h" | #include "JackSystemDeps.h" | ||||
#include "JackDriverLoader.h" | #include "JackDriverLoader.h" | ||||
#include "JackConstants.h" | #include "JackConstants.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include <getopt.h> | #include <getopt.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <errno.h> | |||||
#ifndef WIN32 | #ifndef WIN32 | ||||
#include <dirent.h> | #include <dirent.h> | ||||
#endif | #endif | ||||
#include <errno.h> | |||||
jack_driver_desc_t * jackctl_driver_get_desc(jackctl_driver_t * driver); | jack_driver_desc_t * jackctl_driver_get_desc(jackctl_driver_t * driver); | ||||
static void | static void | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackDummyDriver.h" | #include "JackDummyDriver.h" | ||||
#include "JackEngineControl.h" | #include "JackEngineControl.h" | ||||
#include "JackGraphManager.h" | #include "JackGraphManager.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include <iostream> | #include <iostream> | ||||
#include <fstream> | #include <fstream> | ||||
#include <assert.h> | #include <assert.h> | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackClientInterface.h" | #include "JackClientInterface.h" | ||||
#include "JackEngineControl.h" | #include "JackEngineControl.h" | ||||
#include "JackGraphManager.h" | #include "JackGraphManager.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackEngineTiming.h" | #include "JackEngineTiming.h" | ||||
#include "JackGraphManager.h" | #include "JackGraphManager.h" | ||||
#include "JackClientControl.h" | #include "JackClientControl.h" | ||||
@@ -19,10 +19,6 @@ | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include <stdarg.h> | #include <stdarg.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackExternalClient.h" | #include "JackExternalClient.h" | ||||
#include "JackClientControl.h" | #include "JackClientControl.h" | ||||
#include "JackGlobals.h" | #include "JackGlobals.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackFrameTimer.h" | #include "JackFrameTimer.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include <math.h> | #include <math.h> | ||||
@@ -18,12 +18,7 @@ | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSystemDeps.h" | #include "JackSystemDeps.h" | ||||
#include "JackFreewheelDriver.h" | #include "JackFreewheelDriver.h" | ||||
#include "JackEngineControl.h" | #include "JackEngineControl.h" | ||||
#include "JackLockedEngine.h" | #include "JackLockedEngine.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackGlobals.h" | #include "JackGlobals.h" | ||||
static bool gKeyRealtimeInitialized = false; | static bool gKeyRealtimeInitialized = false; | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackGraphManager.h" | #include "JackGraphManager.h" | ||||
#include "JackConstants.h" | #include "JackConstants.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSystemDeps.h" | #include "JackSystemDeps.h" | ||||
#ifndef WIN32 | #ifndef WIN32 | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackDebugClient.h" | #include "JackDebugClient.h" | ||||
#include "JackLibClient.h" | #include "JackLibClient.h" | ||||
#include "JackChannel.h" | #include "JackChannel.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackLibClient.h" | #include "JackLibClient.h" | ||||
#include "JackTime.h" | #include "JackTime.h" | ||||
#include "JackLibGlobals.h" | #include "JackLibGlobals.h" | ||||
@@ -18,12 +18,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSystemDeps.h" | #include "JackSystemDeps.h" | ||||
#include "JackLoopbackDriver.h" | #include "JackLoopbackDriver.h" | ||||
#include "JackEngineControl.h" | #include "JackEngineControl.h" | ||||
#include "JackGraphManager.h" | #include "JackGraphManager.h" | ||||
@@ -27,10 +27,6 @@ | |||||
* | * | ||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackMessageBuffer.h" | #include "JackMessageBuffer.h" | ||||
#include "JackGlobals.h" | #include "JackGlobals.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackError.h" | #include "JackError.h" | ||||
#include "JackMidiPort.h" | #include "JackMidiPort.h" | ||||
#include "JackCompilerDeps.h" | #include "JackCompilerDeps.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackError.h" | #include "JackError.h" | ||||
#include "JackPortType.h" | #include "JackPortType.h" | ||||
#include "JackMidiPort.h" | #include "JackMidiPort.h" | ||||
@@ -19,12 +19,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
#include "JackNetDriver.h" | #include "JackNetDriver.h" | ||||
#include "JackEngineControl.h" | #include "JackEngineControl.h" | ||||
#include "JackClientControl.h" | |||||
#include "JackGraphManager.h" | #include "JackGraphManager.h" | ||||
#include "JackDriverLoader.h" | |||||
#include "JackThreadedDriver.h" | |||||
#include "JackWaitThreadedDriver.h" | #include "JackWaitThreadedDriver.h" | ||||
using namespace std; | using namespace std; | ||||
namespace Jack | namespace Jack | ||||
@@ -21,10 +21,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
#ifndef __JackNetInterface__ | #ifndef __JackNetInterface__ | ||||
#define __JackNetInterface__ | #define __JackNetInterface__ | ||||
#ifdef HAVE_CONFIG_H | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackNetTool.h" | #include "JackNetTool.h" | ||||
namespace Jack | namespace Jack | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackPort.h" | #include "JackPort.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include "JackPortType.h" | #include "JackPortType.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackPortType.h" | #include "JackPortType.h" | ||||
#include <string.h> | #include <string.h> | ||||
#include <assert.h> | #include <assert.h> | ||||
@@ -18,12 +18,7 @@ | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSystemDeps.h" | #include "JackSystemDeps.h" | ||||
#include "JackRestartThreadedDriver.h" | #include "JackRestartThreadedDriver.h" | ||||
#include "JackException.h" | #include "JackException.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSystemDeps.h" | #include "JackSystemDeps.h" | ||||
#include "JackServer.h" | #include "JackServer.h" | ||||
#include "JackTime.h" | #include "JackTime.h" | ||||
@@ -18,10 +18,6 @@ This program is free software; you can redistribute it and/or modify | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSystemDeps.h" | #include "JackSystemDeps.h" | ||||
#include "JackGraphManager.h" | #include "JackGraphManager.h" | ||||
#include "JackInternalClient.h" | #include "JackInternalClient.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackServerGlobals.h" | #include "JackServerGlobals.h" | ||||
#include "JackTools.h" | #include "JackTools.h" | ||||
#include "shm.h" | #include "shm.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackError.h" | #include "JackError.h" | ||||
#include "JackShmMem.h" | #include "JackShmMem.h" | ||||
#include <stdio.h> | #include <stdio.h> | ||||
@@ -18,12 +18,7 @@ | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSystemDeps.h" | #include "JackSystemDeps.h" | ||||
#include "JackThreadedDriver.h" | #include "JackThreadedDriver.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include "JackGlobals.h" | #include "JackGlobals.h" | ||||
@@ -17,10 +17,6 @@ | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackConstants.h" | #include "JackConstants.h" | ||||
#include "JackDriverLoader.h" | #include "JackDriverLoader.h" | ||||
#include "JackTools.h" | #include "JackTools.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackTransportEngine.h" | #include "JackTransportEngine.h" | ||||
#include "JackClientInterface.h" | #include "JackClientInterface.h" | ||||
#include "JackClientControl.h" | #include "JackClientControl.h" | ||||
@@ -18,12 +18,7 @@ | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSystemDeps.h" | #include "JackSystemDeps.h" | ||||
#include "JackWaitThreadedDriver.h" | #include "JackWaitThreadedDriver.h" | ||||
#include "JackGlobals.h" | #include "JackGlobals.h" | ||||
#include "JackClient.h" | #include "JackClient.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include <iostream> | #include <iostream> | ||||
#include <assert.h> | #include <assert.h> | ||||
#include <cassert> | #include <cassert> | ||||
@@ -20,10 +20,6 @@ | |||||
This is safe for the case of one read thread and one write thread. | This is safe for the case of one read thread and one write thread. | ||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <string.h> | #include <string.h> | ||||
#ifdef USE_MLOCK | #ifdef USE_MLOCK | ||||
@@ -31,9 +31,7 @@ | |||||
* | * | ||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackConstants.h" | |||||
#ifdef WIN32 | #ifdef WIN32 | ||||
#include <process.h> | #include <process.h> | ||||
@@ -6,7 +6,6 @@ | |||||
#include "types.h" | #include "types.h" | ||||
#include "JackCompilerDeps.h" | #include "JackCompilerDeps.h" | ||||
#define TRUE 1 | #define TRUE 1 | ||||
#define FALSE 0 | #define FALSE 0 | ||||
@@ -17,10 +17,6 @@ | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include "timestamps.h" | #include "timestamps.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackAlsaAdapter.h" | #include "JackAlsaAdapter.h" | ||||
#include "JackServer.h" | #include "JackServer.h" | ||||
#include "JackEngineControl.h" | #include "JackEngineControl.h" | ||||
@@ -18,13 +18,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include <iostream> | #include <iostream> | ||||
#include <unistd.h> | #include <unistd.h> | ||||
#include <math.h> | #include <math.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <memory.h> | #include <memory.h> | ||||
@@ -44,7 +39,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
#include "JackPort.h" | #include "JackPort.h" | ||||
#include "JackGraphManager.h" | #include "JackGraphManager.h" | ||||
#include "JackLockedEngine.h" | #include "JackLockedEngine.h" | ||||
#include "JackPosixThread.h" | |||||
#include "JackCompilerDeps.h" | |||||
#include "hammerfall.h" | #include "hammerfall.h" | ||||
#include "hdsp.h" | #include "hdsp.h" | ||||
#include "ice1712.h" | #include "ice1712.h" | ||||
@@ -52,9 +48,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
#include "generic.h" | #include "generic.h" | ||||
#include "memops.h" | #include "memops.h" | ||||
#include "JackPosixThread.h" | |||||
#include "JackCompilerDeps.h" | |||||
namespace Jack | namespace Jack | ||||
{ | { | ||||
@@ -36,7 +36,6 @@ | |||||
#include "hardware.h" | #include "hardware.h" | ||||
#include "driver.h" | #include "driver.h" | ||||
#include "memops.h" | #include "memops.h" | ||||
#include "alsa_midi.h" | #include "alsa_midi.h" | ||||
typedef void (*ReadCopyFunction) (jack_default_audio_sample_t *dst, char *src, | typedef void (*ReadCopyFunction) (jack_default_audio_sample_t *dst, char *src, | ||||
@@ -19,6 +19,7 @@ | |||||
#ifndef __jack_alsa_midi_impl_h__ | #ifndef __jack_alsa_midi_impl_h__ | ||||
#define __jack_alsa_midi_impl_h__ | #define __jack_alsa_midi_impl_h__ | ||||
#include "JackConstants.h" | |||||
#ifdef JACKMP | #ifdef JACKMP | ||||
@@ -59,12 +60,11 @@ extern "C" | |||||
#else // usual jack | #else // usual jack | ||||
#include "jack/jack.h" | |||||
#include "jack/thread.h" | |||||
#include "jack.h" | |||||
#include "thread.h" | |||||
#endif | #endif | ||||
#if defined(STANDALONE) | #if defined(STANDALONE) | ||||
#define MESSAGE(...) fprintf(stderr, __VA_ARGS__) | #define MESSAGE(...) fprintf(stderr, __VA_ARGS__) | ||||
#elif !defined(JACKMP) | #elif !defined(JACKMP) | ||||
@@ -80,8 +80,6 @@ extern "C" | |||||
#define debug_log(...) | #define debug_log(...) | ||||
#endif | #endif | ||||
#include "alsa_midi.h" | #include "alsa_midi.h" | ||||
#endif /* __jack_alsa_midi_impl_h__ */ | #endif /* __jack_alsa_midi_impl_h__ */ |
@@ -16,10 +16,6 @@ | |||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackAlsaDriver.h" | #include "JackAlsaDriver.h" | ||||
#include "JackPort.h" | #include "JackPort.h" | ||||
#include "alsa_midi_impl.h" | #include "alsa_midi_impl.h" | ||||
@@ -18,10 +18,6 @@ | |||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
/* Required for clock_nanosleep(). Thanks, Nedko */ | /* Required for clock_nanosleep(). Thanks, Nedko */ | ||||
#define _GNU_SOURCE | #define _GNU_SOURCE | ||||
@@ -33,9 +29,9 @@ | |||||
#include <limits.h> | #include <limits.h> | ||||
#include <ctype.h> | #include <ctype.h> | ||||
#include <alsa/asoundlib.h> | #include <alsa/asoundlib.h> | ||||
#include <jack/ringbuffer.h> | |||||
#include <jack/midiport.h> | |||||
#include "ringbuffer.h" | |||||
#include "midiport.h" | |||||
#include "alsa_midi_impl.h" | #include "alsa_midi_impl.h" | ||||
#include "midi_pack.h" | #include "midi_pack.h" | ||||
#include "midi_unpack.h" | #include "midi_unpack.h" | ||||
@@ -38,13 +38,8 @@ | |||||
* create new ports or mark existing as dead | * create new ports or mark existing as dead | ||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include <alsa/asoundlib.h> | #include <alsa/asoundlib.h> | ||||
#include <jack/midiport.h> | |||||
#include <jack/ringbuffer.h> | |||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <signal.h> | #include <signal.h> | ||||
@@ -53,6 +48,8 @@ | |||||
#include <time.h> | #include <time.h> | ||||
#include <ctype.h> | #include <ctype.h> | ||||
#include "midiport.h" | |||||
#include "ringbuffer.h" | |||||
#include "alsa_midi_impl.h" | #include "alsa_midi_impl.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -18,10 +18,6 @@ | |||||
$Id: generic_hw.c,v 1.2 2005/08/29 10:36:28 letz Exp $ | $Id: generic_hw.c,v 1.2 2005/08/29 10:36:28 letz Exp $ | ||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "hardware.h" | #include "hardware.h" | ||||
#include "alsa_driver.h" | #include "alsa_driver.h" | ||||
@@ -18,10 +18,6 @@ | |||||
$Id: hammerfall.c,v 1.3 2005/09/29 14:51:59 letz Exp $ | $Id: hammerfall.c,v 1.3 2005/09/29 14:51:59 letz Exp $ | ||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "hardware.h" | #include "hardware.h" | ||||
#include "alsa_driver.h" | #include "alsa_driver.h" | ||||
#include "hammerfall.h" | #include "hammerfall.h" | ||||
@@ -19,10 +19,6 @@ | |||||
$Id: hdsp.c,v 1.3 2005/09/29 14:51:59 letz Exp $ | $Id: hdsp.c,v 1.3 2005/09/29 14:51:59 letz Exp $ | ||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "hardware.h" | #include "hardware.h" | ||||
#include "alsa_driver.h" | #include "alsa_driver.h" | ||||
#include "hdsp.h" | #include "hdsp.h" | ||||
@@ -21,12 +21,6 @@ | |||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
//#include <jack/hardware.h> | |||||
#include "hardware.h" | #include "hardware.h" | ||||
#include "alsa_driver.h" | #include "alsa_driver.h" | ||||
#include "ice1712.h" | #include "ice1712.h" | ||||
@@ -18,10 +18,6 @@ | |||||
$Id: memops.c,v 1.2 2005/08/29 10:36:28 letz Exp $ | $Id: memops.c,v 1.2 2005/08/29 10:36:28 letz Exp $ | ||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#define _ISOC9X_SOURCE 1 | #define _ISOC9X_SOURCE 1 | ||||
#define _ISOC99_SOURCE 1 | #define _ISOC99_SOURCE 1 | ||||
@@ -18,10 +18,6 @@ | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "hardware.h" | #include "hardware.h" | ||||
#include "alsa_driver.h" | #include "alsa_driver.h" | ||||
#include "usx2y.h" | #include "usx2y.h" | ||||
@@ -19,13 +19,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include <iostream> | #include <iostream> | ||||
#include <unistd.h> | #include <unistd.h> | ||||
#include <math.h> | #include <math.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <memory.h> | #include <memory.h> | ||||
@@ -19,13 +19,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include <iostream> | #include <iostream> | ||||
#include <unistd.h> | #include <unistd.h> | ||||
#include <math.h> | #include <math.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <memory.h> | #include <memory.h> | ||||
@@ -17,10 +17,6 @@ This program is free software; you can redistribute it and/or modify | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackServer.h" | #include "JackServer.h" | ||||
#include "JackLockedEngine.h" | #include "JackLockedEngine.h" | ||||
#include "JackRPCEngine.h" | #include "JackRPCEngine.h" | ||||
@@ -17,10 +17,6 @@ This program is free software; you can redistribute it and/or modify | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackLibClient.h" | #include "JackLibClient.h" | ||||
#include "JackMachClientChannel.h" | #include "JackMachClientChannel.h" | ||||
#include "JackRPCEngine.h" | #include "JackRPCEngine.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackMachClientChannel.h" | #include "JackMachClientChannel.h" | ||||
#include "JackRPCEngine.h" | #include "JackRPCEngine.h" | ||||
#include "JackRPCClientServer.c" | #include "JackRPCClientServer.c" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackMachNotifyChannel.h" | #include "JackMachNotifyChannel.h" | ||||
#include "JackRPCClient.h" | #include "JackRPCClient.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackMachPort.h" | #include "JackMachPort.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackMachSemaphore.h" | #include "JackMachSemaphore.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include <stdio.h> | #include <stdio.h> | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackMachServerChannel.h" | #include "JackMachServerChannel.h" | ||||
#include "JackRPCEngineServer.c" | #include "JackRPCEngineServer.c" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackMachServerNotifyChannel.h" | #include "JackMachServerNotifyChannel.h" | ||||
#include "JackRPCEngineUser.c" | #include "JackRPCEngineUser.c" | ||||
#include "JackConstants.h" | #include "JackConstants.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackMachThread.h" | #include "JackMachThread.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackTime.h" | #include "JackTime.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include <mach/mach_time.h> | #include <mach/mach_time.h> | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackCoreAudioAdapter.h" | #include "JackCoreAudioAdapter.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include <unistd.h> | #include <unistd.h> | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackCoreAudioDriver.h" | #include "JackCoreAudioDriver.h" | ||||
#include "JackEngineControl.h" | #include "JackEngineControl.h" | ||||
#include "JackMachThread.h" | #include "JackMachThread.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackPosixSemaphore.h" | #include "JackPosixSemaphore.h" | ||||
#include "JackConstants.h" | #include "JackConstants.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#ifndef JACK_LOCATION | #ifndef JACK_LOCATION | ||||
#include "config.h" | #include "config.h" | ||||
#endif | #endif | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackPosixThread.h" | #include "JackPosixThread.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include "JackTime.h" | #include "JackTime.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackProcessSync.h" | #include "JackProcessSync.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSocket.h" | #include "JackSocket.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include <string.h> | #include <string.h> | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSocketClientChannel.h" | #include "JackSocketClientChannel.h" | ||||
#include "JackRequest.h" | #include "JackRequest.h" | ||||
#include "JackClient.h" | #include "JackClient.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackRequest.h" | #include "JackRequest.h" | ||||
#include "JackSocketNotifyChannel.h" | #include "JackSocketNotifyChannel.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSocketServerChannel.h" | #include "JackSocketServerChannel.h" | ||||
#include "JackRequest.h" | #include "JackRequest.h" | ||||
#include "JackServer.h" | #include "JackServer.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackSocketServerNotifyChannel.h" | #include "JackSocketServerNotifyChannel.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include "JackRequest.h" | #include "JackRequest.h" | ||||
@@ -17,10 +17,6 @@ This program is free software; you can redistribute it and/or modify | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackWinEvent.h" | #include "JackWinEvent.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include <assert.h> | #include <assert.h> | ||||
@@ -17,10 +17,6 @@ This program is free software; you can redistribute it and/or modify | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackWinNamedPipe.h" | #include "JackWinNamedPipe.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include <assert.h> | #include <assert.h> | ||||
@@ -17,10 +17,6 @@ Copyright (C) 2004-2006 Grame | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackWinNamedPipeClientChannel.h" | #include "JackWinNamedPipeClientChannel.h" | ||||
#include "JackRequest.h" | #include "JackRequest.h" | ||||
#include "JackClient.h" | #include "JackClient.h" | ||||
@@ -17,10 +17,6 @@ Copyright (C) 2004-2006 Grame | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackRequest.h" | #include "JackRequest.h" | ||||
#include "JackWinNamedPipeNotifyChannel.h" | #include "JackWinNamedPipeNotifyChannel.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
@@ -17,10 +17,6 @@ Copyright (C) 2004-2006 Grame | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackWinNamedPipeServerChannel.h" | #include "JackWinNamedPipeServerChannel.h" | ||||
#include "JackNotification.h" | #include "JackNotification.h" | ||||
#include "JackRequest.h" | #include "JackRequest.h" | ||||
@@ -17,10 +17,6 @@ This program is free software; you can redistribute it and/or modify | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackWinNamedPipeServerNotifyChannel.h" | #include "JackWinNamedPipeServerNotifyChannel.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include "JackRequest.h" | #include "JackRequest.h" | ||||
@@ -17,12 +17,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackWinProcessSync.h" | |||||
#include "JackError.h" | |||||
#include "JackWinProcessSync.h" | |||||
#include "JackError.h" | |||||
namespace Jack | namespace Jack | ||||
{ | { | ||||
@@ -17,10 +17,6 @@ This program is free software; you can redistribute it and/or modify | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackWinSemaphore.h" | #include "JackWinSemaphore.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include <stdio.h> | #include <stdio.h> | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackServerLaunch.h" | #include "JackServerLaunch.h" | ||||
int try_start_server(jack_varargs_t* va, jack_options_t options, jack_status_t* status) | int try_start_server(jack_varargs_t* va, jack_options_t options, jack_status_t* status) | ||||
@@ -18,10 +18,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackWinThread.h" | #include "JackWinThread.h" | ||||
#include "JackError.h" | #include "JackError.h" | ||||
#include "JackTime.h" | #include "JackTime.h" | ||||
@@ -17,10 +17,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
*/ | */ | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config.h" | |||||
#endif | |||||
#include "JackDriverLoader.h" | #include "JackDriverLoader.h" | ||||
#include "driver_interface.h" | #include "driver_interface.h" | ||||
#include "JackPortAudioDriver.h" | #include "JackPortAudioDriver.h" | ||||
@@ -66,6 +66,8 @@ def set_options(opt): | |||||
opt.add_option('--dbus', action='store_true', default=False, help='Enable D-Bus JACK (jackdbus)') | opt.add_option('--dbus', action='store_true', default=False, help='Enable D-Bus JACK (jackdbus)') | ||||
opt.add_option('--doxygen', action='store_true', default=False, help='Enable build of doxygen documentation') | opt.add_option('--doxygen', action='store_true', default=False, help='Enable build of doxygen documentation') | ||||
opt.add_option('--monitor', action='store_true', default=False, help='Build with monitoring records') | opt.add_option('--monitor', action='store_true', default=False, help='Build with monitoring records') | ||||
opt.add_option('--clients', default=64, type="int", dest="clients", help='Maximum number of JACK clients') | |||||
opt.add_option('--ports', default=512, type="int", dest="ports", help='Maximum number of ports') | |||||
opt.sub_options('dbus') | opt.sub_options('dbus') | ||||
def configure(conf): | def configure(conf): | ||||
@@ -98,6 +100,9 @@ def configure(conf): | |||||
conf.env['BUILD_DOXYGEN_DOCS'] = Params.g_options.doxygen | conf.env['BUILD_DOXYGEN_DOCS'] = Params.g_options.doxygen | ||||
conf.env['BUILD_WITH_MONITOR'] = Params.g_options.monitor | conf.env['BUILD_WITH_MONITOR'] = Params.g_options.monitor | ||||
conf.define('CLIENT_NUM', Params.g_options.clients) | |||||
conf.define('PORT_NUM', Params.g_options. ports) | |||||
conf.define('ADDON_DIR', os.path.normpath(conf.env['PREFIX'] + '/lib/jack')) | conf.define('ADDON_DIR', os.path.normpath(conf.env['PREFIX'] + '/lib/jack')) | ||||
conf.define('JACK_LOCATION', os.path.normpath(conf.env['PREFIX'] + '/bin')) | conf.define('JACK_LOCATION', os.path.normpath(conf.env['PREFIX'] + '/bin')) | ||||
conf.define('__SMP__', 1) | conf.define('__SMP__', 1) | ||||
@@ -124,12 +129,15 @@ def configure(conf): | |||||
else: | else: | ||||
version_msg += " svn revision will checked and eventually updated during build" | version_msg += " svn revision will checked and eventually updated during build" | ||||
print version_msg | print version_msg | ||||
print "Build with a maximum of %d JACK clients" % conf.env['CLIENT_NUM'] | |||||
print "Build with a maximum of %d ports" % conf.env['PORT_NUM'] | |||||
display_msg("Install prefix", conf.env['PREFIX'], 'CYAN') | display_msg("Install prefix", conf.env['PREFIX'], 'CYAN') | ||||
display_msg("Drivers directory", conf.env['ADDON_DIR'], 'CYAN') | display_msg("Drivers directory", conf.env['ADDON_DIR'], 'CYAN') | ||||
display_feature('Build doxygen documentation', conf.env['BUILD_DOXYGEN_DOCS']) | display_feature('Build doxygen documentation', conf.env['BUILD_DOXYGEN_DOCS']) | ||||
display_feature('Build with monitoring records', conf.env['BUILD_WITH_MONITOR']) | display_feature('Build with monitoring records', conf.env['BUILD_WITH_MONITOR']) | ||||
if conf.env['IS_LINUX']: | if conf.env['IS_LINUX']: | ||||
display_feature('Build with ALSA support', conf.env['BUILD_DRIVER_ALSA'] == True) | display_feature('Build with ALSA support', conf.env['BUILD_DRIVER_ALSA'] == True) | ||||
display_feature('Build with FireWire (FreeBob) support', conf.env['BUILD_DRIVER_FREEBOB'] == True) | display_feature('Build with FireWire (FreeBob) support', conf.env['BUILD_DRIVER_FREEBOB'] == True) | ||||