Jack2  1.9.10
JackPlatformPlug_os.h
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 /* __JackPlatformProcessSync__ */
00068 #include "JackPosixProcessSync.h"
00069 namespace Jack { typedef JackPosixProcessSync JackProcessSync; }
00070 
00071 #ifndef MY_TARGET_OS_IPHONE
00072 /* __JackPlatformServerChannel__ */
00073 #include "JackSocketServerChannel.h"
00074 namespace Jack { typedef JackSocketServerChannel JackServerChannel; }
00075 
00076 /* __JackPlatformClientChannel__ */
00077 #include "JackSocketClientChannel.h"
00078 namespace Jack { typedef JackSocketClientChannel JackClientChannel; }
00079 
00080 /* __JackPlatformServerNotifyChannel__ */
00081 #include "JackSocketServerNotifyChannel.h"
00082 namespace Jack { typedef JackSocketServerNotifyChannel JackServerNotifyChannel; }
00083 
00084 /* __JackPlatformNotifyChannel__ */
00085 #include "JackSocketNotifyChannel.h"
00086 namespace Jack { typedef JackSocketNotifyChannel JackNotifyChannel; }
00087 #endif
00088 
00089 /* __JackPlatformNetSocket__ */
00090 #include "JackNetUnixSocket.h"
00091 namespace Jack { typedef JackNetUnixSocket JackNetSocket; }
00092 
00093 #endif