Fixes for alsa device reservation
[jack2.git] / windows / JackPlatformPlug_os.h
blob65da4be8ec749534f49c0c4777e85dab50271ce3
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.
21 #ifndef __JackPlatformPlug_WIN32__
22 #define __JackPlatformPlug_WIN32__
24 #define jack_server_dir "server"
25 #define jack_client_dir "client"
26 #define JACK_DEFAULT_DRIVER "portaudio"
27 #define JACK_LOCATION "C:/Program Files/Jack"
29 #ifndef ADDON_DIR
30 #define ADDON_DIR "jack"
31 #endif
33 namespace Jack
35 struct JackRequest;
36 struct JackResult;
38 class JackWinMutex;
39 class JackWinThread;
40 class JackWinSemaphore;
41 class JackWinProcessSync;
42 class JackWinNamedPipeServerChannel;
43 class JackWinNamedPipeClientChannel;
44 class JackWinNamedPipeServerNotifyChannel;
45 class JackWinNamedPipeNotifyChannel;
46 class JackWinNamedPipe;
47 class JackNetWinSocket;
50 /* __JackPlatformMutex__ */
51 #include "JackWinMutex.h"
52 namespace Jack {typedef JackWinMutex JackMutex; }
54 /* __JackPlatformThread__ */
55 #include "JackWinThread.h"
56 namespace Jack { typedef JackWinThread JackThread; }
58 /* __JackPlatformSynchro__ client activation */
59 #include "JackWinSemaphore.h"
60 namespace Jack { typedef JackWinSemaphore JackSynchro; }
62 /* __JackPlatformChannelTransaction__ */
63 #include "JackWinNamedPipe.h"
64 namespace Jack { typedef JackWinNamedPipe JackChannelTransaction; }
66 /* __JackPlatformProcessSync__ */
67 #include "JackWinProcessSync.h"
68 namespace Jack { typedef JackWinProcessSync JackProcessSync; }
70 /* __JackPlatformServerChannel__ */
71 #include "JackWinNamedPipeServerChannel.h"
72 namespace Jack { typedef JackWinNamedPipeServerChannel JackServerChannel; }
74 /* __JackPlatformClientChannel__ */
75 #include "JackWinNamedPipeClientChannel.h"
76 namespace Jack { typedef JackWinNamedPipeClientChannel JackClientChannel; }
78 /* __JackPlatformServerNotifyChannel__ */
79 #include "JackWinNamedPipeServerNotifyChannel.h"
80 namespace Jack { typedef JackWinNamedPipeServerNotifyChannel JackServerNotifyChannel; }
82 /* __JackPlatformNotifyChannel__ */
83 #include "JackWinNamedPipeNotifyChannel.h"
84 namespace Jack { typedef JackWinNamedPipeNotifyChannel JackNotifyChannel; }
86 /* __JackPlatformNetSocket__ */
87 #include "JackNetWinSocket.h"
88 namespace Jack { typedef JackNetWinSocket JackNetSocket; }
90 #endif