1 /*
2 Copyright (C) 2004-2008 Grame
3 
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as published by
6 the Free Software Foundation; either version 2.1 of the License, or
7 (at your option) any later version.
8 
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU Lesser General Public License for more details.
13 
14 You should have received a copy of the GNU Lesser General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 
18 */
19 
20 #ifndef __JackPlatformPlug_APPLE__
21 #define __JackPlatformPlug_APPLE__
22 
23 #include <TargetConditionals.h>
24 
25 #define jack_server_dir "/tmp"
26 #define jack_client_dir "/tmp"
27 #define JACK_DEFAULT_DRIVER "coreaudio"
28 
29 namespace Jack
30 {
31     struct JackRequest;
32     struct JackResult;
33 
34 	class JackPosixMutex;
35 	class JackMachThread;
36 	class JackMachSemaphore;
37 
38     class JackSocketServerChannel;
39     class JackSocketClientChannel;
40     class JackSocketServerNotifyChannel;
41     class JackSocketNotifyChannel;
42 
43 	class JackNetUnixSocket;
44 }
45 
46 /* __JackPlatformMutex__ */
47 #include "JackPosixMutex.h"
48 namespace Jack { typedef JackPosixMutex JackMutex; }
49 
50 /* __JackPlatformThread__ */
51 #include "JackMachThread.h"
52 namespace Jack { typedef JackMachThread JackThread; }
53 
54 /* __JackPlatformSynchro__  client activation */
55 #include "JackMachSemaphore.h"
56 namespace Jack { typedef JackMachSemaphore JackSynchro; }
57 
58 /* __JackPlatformProcessSync__ */
59 #include "JackPosixProcessSync.h"
60 namespace Jack { typedef JackPosixProcessSync JackProcessSync; }
61 
62 /* __JackPlatformServerChannel__ */
63 #include "JackSocketServerChannel.h"
64 namespace Jack { typedef JackSocketServerChannel JackServerChannel; }
65 
66 /* __JackPlatformClientChannel__ */
67 #include "JackSocketClientChannel.h"
68 namespace Jack { typedef JackSocketClientChannel JackClientChannel; }
69 
70 /* __JackPlatformServerNotifyChannel__ */
71 #include "JackSocketServerNotifyChannel.h"
72 namespace Jack { typedef JackSocketServerNotifyChannel JackServerNotifyChannel; }
73 
74 /* __JackPlatformNotifyChannel__ */
75 #include "JackSocketNotifyChannel.h"
76 namespace Jack { typedef JackSocketNotifyChannel JackNotifyChannel; }
77 
78 /* __JackPlatformNetSocket__ */
79 #include "JackNetUnixSocket.h"
80 namespace Jack { typedef JackNetUnixSocket JackNetSocket; }
81 
82 #endif
83