Jack2: JackPlatformPlug_os.h Source File

Jack2 1.9.12

linux/JackPlatformPlug_os.h
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_linux__
21 #define __JackPlatformPlug_linux__
22
23 #define jack_server_dir "/dev/shm"
24 #define jack_client_dir "/dev/shm"
25 #define JACK_DEFAULT_DRIVER "alsa"
26
27 namespace Jack
28 {
29 struct JackRequest;
30 struct JackResult;
31
32 class JackPosixMutex;
33 class JackPosixThread;
34 class JackFifo;
35 class JackSocketServerChannel;
36 class JackSocketClientChannel;
37 class JackSocketServerNotifyChannel;
38 class JackSocketNotifyChannel;
39 class JackClientSocket;
40 class JackNetUnixSocket;
41 }
42
43 /* __JackPlatformMutex__ */
44 #include "JackPosixMutex.h"
45 namespace Jack {typedef JackPosixMutex JackMutex; }
46
47 /* __JackPlatformThread__ */
48 #include "JackPosixThread.h"
49 namespace Jack { typedef JackPosixThread JackThread; }
50
51 /* __JackPlatformSynchro__ client activation */
52 /*
53 #include "JackFifo.h"
54 namespace Jack { typedef JackFifo JackSynchro; }
55 */
56
57 #include "JackLinuxFutex.h"
58 namespace Jack { typedef JackLinuxFutex JackSynchro; }
59
60 /* __JackPlatformChannelTransaction__ */
61 /*
62 #include "JackSocket.h"
63 namespace Jack { typedef JackClientSocket JackChannelTransaction; }
64 */
65
66 /* __JackPlatformProcessSync__ */
67 #include "JackPosixProcessSync.h"
68 namespace Jack { typedef JackPosixProcessSync JackProcessSync; }
69
70 /* __JackPlatformServerChannel__ */
71 #include "JackSocketServerChannel.h"
72 namespace Jack { typedef JackSocketServerChannel JackServerChannel; }
73
74 /* __JackPlatformClientChannel__ */
75 #include "JackSocketClientChannel.h"
76 namespace Jack { typedef JackSocketClientChannel JackClientChannel; }
77
78 /* __JackPlatformServerNotifyChannel__ */
79 #include "JackSocketServerNotifyChannel.h"
80 namespace Jack { typedef JackSocketServerNotifyChannel JackServerNotifyChannel; }
81
82 /* __JackPlatformNotifyChannel__ */
83 #include "JackSocketNotifyChannel.h"
84 namespace Jack { typedef JackSocketNotifyChannel JackNotifyChannel; }
85
86 /* __JackPlatformNetSocket__ */
87 #include "JackNetUnixSocket.h"
88 namespace Jack { typedef JackNetUnixSocket JackNetSocket; }
89
90 #endif