Commit f19b74f9 authored by sletz's avatar sletz
Browse files

Header cleanup, add --clients and --ports options in configure.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2957 0c269be4-1314-0410-8aa9-9f06e86f4224
parent f7cb7bb5
......@@ -27,6 +27,7 @@ Michael Voigt
* Correct file permission for jack-shm-registry POSIX shared memory segment.
* 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>
......
......@@ -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 "JackError.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 "JackActivationCount.h"
#include "JackConstants.h"
......
......@@ -20,10 +20,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#ifndef __JackAudioAdapterInterface__
#define __JackAudioAdapterInterface__
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include "ringbuffer.h"
#include "jack.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 "JackAudioDriver.h"
#include "JackTime.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 <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 "JackGraphManager.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 <assert.h>
#include "JackConnectionManager.h"
......
......@@ -20,8 +20,12 @@
#ifndef __JackConstants__
#define __JackConstants__
namespace Jack
{
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
//namespace Jack
//{
#define VERSION "1.90"
......@@ -32,14 +36,19 @@ namespace Jack
#define JACK_CLIENT_NAME_SIZE 64
#define FIRST_AVAILABLE_PORT 1
#ifndef PORT_NUM
#define PORT_NUM 512
#endif
#define DRIVER_PORT_NUM 256
#define PORT_NUM_FOR_CLIENT 256
#define FIRST_AVAILABLE_PORT 1
#define CONNECTION_NUM_FOR_PORT 256
#ifndef CLIENT_NUM
#define CLIENT_NUM 64
#endif
#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
......@@ -82,6 +91,6 @@ namespace Jack
#define EMPTY 0xFFFD
#define FREE 0xFFFC
} // end of namespace
//} // end of namespace
#endif
......@@ -20,10 +20,6 @@
*/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#ifndef WIN32
#include <stdbool.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 "JackEngineControl.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 "JackDriver.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 "JackDriverLoader.h"
#include "JackConstants.h"
#include "JackError.h"
#include <getopt.h>
#include <stdio.h>
#include <errno.h>
#ifndef WIN32
#include <dirent.h>
#endif
#include <errno.h>
jack_driver_desc_t * jackctl_driver_get_desc(jackctl_driver_t * driver);
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 "JackEngineControl.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 <fstream>
#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 "JackEngineControl.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 "JackGraphManager.h"
#include "JackClientControl.h"
......
......@@ -19,10 +19,6 @@
*/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include <stdarg.h>
#include <stdio.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 "JackClientControl.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 "JackError.h"
#include <math.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment