Fixes for alsa device reservation
[jack2.git] / solaris / JackPlatformPlug_os.h
blobe3a03d3491c0c12f8185484c0f8d9b6739276252
1 /*
2 Copyright (C) 2004-2008 Grame
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.
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.
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.
20 #ifndef __JackPlatformPlug_sun__
21 #define __JackPlatformPlug_sun__
23 #define jack_server_dir "/tmp"
24 #define jack_client_dir "/tmp"
25 #define JACK_DEFAULT_DRIVER "oss"
27 namespace Jack
29 struct JackRequest;
30 struct JackResult;
32 class JackPosixMutex;
33 class JackPosixThread;
34 class JackFifo;
36 class JackSocketServerChannel;
37 class JackSocketClientChannel;
38 class JackSocketServerNotifyChannel;
39 class JackSocketNotifyChannel;
40 class JackClientSocket;
41 class JackNetUnixSocket;
44 /* __JackPlatformMutex__ */
45 #include "JackPosixMutex.h"
46 namespace Jack {typedef JackPosixMutex JackMutex; }
48 /* __JackPlatformThread__ */
49 #include "JackPosixThread.h"
50 namespace Jack { typedef JackPosixThread JackThread; }
52 /* __JackPlatformSynchro__ client activation */
53 #include "JackFifo.h"
54 namespace Jack { typedef JackFifo JackSynchro; }
56 /* __JackPlatformChannelTransaction__ */
57 #include "JackSocket.h"
58 namespace Jack { typedef JackClientSocket JackChannelTransaction; }
60 #include "JackProcessSync.h"
61 /* __JackPlatformProcessSync__ */
62 /* Only on windows a special JackProcessSync is used. It is directly defined by including JackProcessSync.h here */
64 /* __JackPlatformServerChannel__ */
65 #include "JackSocketServerChannel.h"
66 namespace Jack { typedef JackSocketServerChannel JackServerChannel; }
68 /* __JackPlatformClientChannel__ */
69 #include "JackSocketClientChannel.h"
70 namespace Jack { typedef JackSocketClientChannel JackClientChannel; }
72 /* __JackPlatformServerNotifyChannel__ */
73 #include "JackSocketServerNotifyChannel.h"
74 namespace Jack { typedef JackSocketServerNotifyChannel JackServerNotifyChannel; }
76 /* __JackPlatformNotifyChannel__ */
77 #include "JackSocketNotifyChannel.h"
78 namespace Jack { typedef JackSocketNotifyChannel JackNotifyChannel; }
80 /* __JackPlatformNetSocket__ */
81 #include "JackNetUnixSocket.h"
82 namespace Jack { typedef JackNetUnixSocket JackNetSocket; }
84 #endif