Jack2  1.9.7
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 #define jack_server_dir "/tmp"
00024 #define jack_client_dir "/tmp"
00025 #define JACK_DEFAULT_DRIVER "coreaudio"
00026 
00027 namespace Jack
00028 {       
00029     struct JackRequest;
00030     struct JackResult;
00031     
00032         class JackPosixMutex;
00033         class JackMachThread;
00034         class JackMachSemaphore;
00035     
00036     class JackSocketServerChannel;
00037     class JackSocketClientChannel;
00038     class JackSocketServerNotifyChannel;
00039     class JackSocketNotifyChannel;
00040     
00041         class JackNetUnixSocket;
00042 }
00043 
00044 /* __JackPlatformMutex__ */
00045 #include "JackPosixMutex.h"
00046 namespace Jack { typedef JackPosixMutex JackMutex; }
00047 
00048 /* __JackPlatformThread__ */
00049 #include "JackMachThread.h"
00050 namespace Jack { typedef JackMachThread JackThread; }
00051 
00052 /* __JackPlatformSynchro__  client activation */
00053 #include "JackMachSemaphore.h"
00054 namespace Jack { typedef JackMachSemaphore JackSynchro; }
00055 
00056 #include "JackSocket.h"
00057 namespace Jack { typedef JackClientSocket JackChannelTransaction; }
00058 
00059 /* __JackPlatformProcessSync__ */
00060 #include "JackProcessSync.h"
00061 /* Only on windows a special JackProcessSync is used. It is directly defined by including JackProcessSync.h here */
00062 
00063 /* __JackPlatformServerChannel__ */ 
00064 #include "JackSocketServerChannel.h"
00065 namespace Jack { typedef JackSocketServerChannel JackServerChannel; }
00066 
00067 /* __JackPlatformClientChannel__ */
00068 #include "JackSocketClientChannel.h"
00069 namespace Jack { typedef JackSocketClientChannel JackClientChannel; }
00070 
00071 /* __JackPlatformServerNotifyChannel__ */
00072 #include "JackSocketServerNotifyChannel.h"
00073 namespace Jack { typedef JackSocketServerNotifyChannel JackServerNotifyChannel; }
00074 
00075 /* __JackPlatformNotifyChannel__ */
00076 #include "JackSocketNotifyChannel.h"
00077 namespace Jack { typedef JackSocketNotifyChannel JackNotifyChannel; }
00078 
00079 /* __JackPlatformNetSocket__ */
00080 #include "JackNetUnixSocket.h"
00081 namespace Jack { typedef JackNetUnixSocket JackNetSocket; }
00082 
00083 #endif