Jack2 1.9.6

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         class JackPosixMutex;
00030         class JackMachThread;
00031         class JackMachSemaphore;
00032 
00033         class JackMachServerChannel;
00034         class JackMachClientChannel;
00035         class JackMachServerNotifyChannel;
00036         class JackMachNotifyChannel;
00037         class JackNetUnixSocket;
00038 }
00039 
00040 /* __JackPlatformMutex__ */
00041 #include "JackPosixMutex.h"
00042 namespace Jack { typedef JackPosixMutex JackMutex; }
00043 
00044 /* __JackPlatformThread__ */
00045 #include "JackMachThread.h"
00046 namespace Jack { typedef JackMachThread JackThread; }
00047 
00048 /* __JackPlatformSynchro__  client activation */
00049 #include "JackMachSemaphore.h"
00050 namespace Jack { typedef JackMachSemaphore JackSynchro; }
00051 
00052 /* __JackPlatformProcessSync__ */
00053 #include "JackProcessSync.h"
00054 /* Only on windows a special JackProcessSync is used. It is directly defined by including JackProcessSync.h here */
00055 
00056 /* __JackPlatformServerChannel__ */ 
00057 #include "JackMachServerChannel.h"
00058 namespace Jack { typedef JackMachServerChannel JackServerChannel; }
00059 
00060 /* __JackPlatformClientChannel__ */
00061 #include "JackMachClientChannel.h"
00062 namespace Jack { typedef JackMachClientChannel JackClientChannel; }
00063 
00064 /* __JackPlatformServerNotifyChannel__ */
00065 #include "JackMachServerNotifyChannel.h"
00066 namespace Jack { typedef JackMachServerNotifyChannel JackServerNotifyChannel; }
00067 
00068 /* __JackPlatformNotifyChannel__ */
00069 #include "JackMachNotifyChannel.h"
00070 namespace Jack { typedef JackMachNotifyChannel JackNotifyChannel; }
00071 
00072 /* __JackPlatformNetSocket__ */
00073 #include "JackNetUnixSocket.h"
00074 namespace Jack { typedef JackNetUnixSocket JackNetSocket; }
00075 
00076 #endif