Browse Source

Audioadapter factory code moved back in JackAudioAdapterFactory.cpp file.

tags/1.9.9.5
Stephane Letz 12 years ago
parent
commit
aa6c0a9fa9
5 changed files with 20 additions and 16 deletions
  1. +20
    -0
      common/JackAudioAdapterFactory.cpp
  2. +0
    -4
      linux/JackPlatformPlug_os.h
  3. +0
    -4
      macosx/JackPlatformPlug_os.h
  4. +0
    -4
      solaris/JackPlatformPlug_os.h
  5. +0
    -4
      windows/JackPlatformPlug_os.h

+ 20
- 0
common/JackAudioAdapterFactory.cpp View File

@@ -25,6 +25,26 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <stdlib.h>
#include <assert.h>

#ifdef __APPLE__
#include "JackCoreAudioAdapter.h"
#define JackPlatformAdapter JackCoreAudioAdapter
#endif

#ifdef __linux__
#include "JackAlsaAdapter.h"
#define JackPlatformAdapter JackAlsaAdapter
#endif

#if defined(__sun__) || defined(sun)
#include "JackOSSAdapter.h"
#define JackPlatformAdapter JackOSSAdapter
#endif

#ifdef WIN32
#include "JackPortAudioAdapter.h"
#define JackPlatformAdapter JackPortAudioAdapter
#endif

#ifdef __cplusplus
extern "C"
{


+ 0
- 4
linux/JackPlatformPlug_os.h View File

@@ -40,10 +40,6 @@ namespace Jack
class JackNetUnixSocket;
}

/* __JackPlatformAdapter__ */
#include "JackAlsaAdapter.h"
namespace Jack { typedef JackAlsaAdapter JackPlatformAdapter; }

/* __JackPlatformMutex__ */
#include "JackPosixMutex.h"
namespace Jack {typedef JackPosixMutex JackMutex; }


+ 0
- 4
macosx/JackPlatformPlug_os.h View File

@@ -50,10 +50,6 @@ namespace Jack
#endif
}

/* __JackPlatformAdapter__ */
#include "JackCoreAudioAdapter.h"
namespace Jack { typedef JackCoreAudioAdapter JackPlatformAdapter; }

/* __JackPlatformMutex__ */
#include "JackPosixMutex.h"
namespace Jack { typedef JackPosixMutex JackMutex; }


+ 0
- 4
solaris/JackPlatformPlug_os.h View File

@@ -41,10 +41,6 @@ namespace Jack
class JackNetUnixSocket;
}

/* __JackPlatformAdapter__ */
#include "JackOSSAdapter.h"
namespace Jack { typedef JackOSSAdapter JackPlatformAdapter; }

/* __JackPlatformMutex__ */
#include "JackPosixMutex.h"
namespace Jack {typedef JackPosixMutex JackMutex; }


+ 0
- 4
windows/JackPlatformPlug_os.h View File

@@ -47,10 +47,6 @@ namespace Jack
class JackNetWinSocket;
}

/* __JackPlatformAdapter__ */
#include "JackPortAudioAdapter.h"
namespace Jack { typedef JackPortAudioAdapter JackPlatformAdapter; }

/* __JackPlatformMutex__ */
#include "JackWinMutex.h"
namespace Jack {typedef JackWinMutex JackMutex; }


Loading…
Cancel
Save