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