Jack2
1.9.8
|
00001 /* 00002 Copyright (C) 2004-2008 Grame 00003 00004 This program is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU Lesser General Public License as published by 00006 the Free Software Foundation; either version 2.1 of the License, or 00007 (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU Lesser General Public License for more details. 00013 00014 You should have received a copy of the GNU Lesser General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00017 00018 */ 00019 00020 #ifndef __JackPlatformPlug_APPLE__ 00021 #define __JackPlatformPlug_APPLE__ 00022 00023 #include <TargetConditionals.h> 00024 00025 #define jack_server_dir "/tmp" 00026 #define jack_client_dir "/tmp" 00027 #define JACK_DEFAULT_DRIVER "coreaudio" 00028 00029 namespace Jack 00030 { 00031 struct JackRequest; 00032 struct JackResult; 00033 00034 class JackPosixMutex; 00035 class JackMachThread; 00036 class JackMachSemaphore; 00037 00038 class JackSocketServerChannel; 00039 class JackSocketClientChannel; 00040 class JackSocketServerNotifyChannel; 00041 class JackSocketNotifyChannel; 00042 00043 class JackNetUnixSocket; 00044 00045 #ifdef MY_TARGET_OS_IPHONE 00046 class JackClient; 00047 class JackGraphManager; 00048 class JackEngineControl; 00049 class JackSynchro; 00050 #endif 00051 } 00052 00053 /* __JackPlatformMutex__ */ 00054 #include "JackPosixMutex.h" 00055 namespace Jack { typedef JackPosixMutex JackMutex; } 00056 00057 /* __JackPlatformThread__ */ 00058 #include "JackMachThread.h" 00059 namespace Jack { typedef JackMachThread JackThread; } 00060 00061 /* __JackPlatformSynchro__ client activation */ 00062 #ifndef MY_TARGET_OS_IPHONE 00063 #include "JackMachSemaphore.h" 00064 namespace Jack { typedef JackMachSemaphore JackSynchro; } 00065 #endif 00066 00067 #include "JackSocket.h" 00068 namespace Jack { typedef JackClientSocket JackChannelTransaction; } 00069 00070 #include "JackSocket.h" 00071 namespace Jack { typedef JackClientSocket JackChannelTransaction; } 00072 00073 /* __JackPlatformProcessSync__ */ 00074 #include "JackProcessSync.h" 00075 /* Only on windows a special JackProcessSync is used. It is directly defined by including JackProcessSync.h here */ 00076 00077 #ifndef MY_TARGET_OS_IPHONE 00078 /* __JackPlatformServerChannel__ */ 00079 #include "JackSocketServerChannel.h" 00080 namespace Jack { typedef JackSocketServerChannel JackServerChannel; } 00081 00082 /* __JackPlatformClientChannel__ */ 00083 #include "JackSocketClientChannel.h" 00084 namespace Jack { typedef JackSocketClientChannel JackClientChannel; } 00085 00086 /* __JackPlatformServerNotifyChannel__ */ 00087 #include "JackSocketServerNotifyChannel.h" 00088 namespace Jack { typedef JackSocketServerNotifyChannel JackServerNotifyChannel; } 00089 00090 /* __JackPlatformNotifyChannel__ */ 00091 #include "JackSocketNotifyChannel.h" 00092 namespace Jack { typedef JackSocketNotifyChannel JackNotifyChannel; } 00093 #endif 00094 00095 /* __JackPlatformNetSocket__ */ 00096 #include "JackNetUnixSocket.h" 00097 namespace Jack { typedef JackNetUnixSocket JackNetSocket; } 00098 00099 #endif