2 Copyright (C) 2004-2008 Grame
3 Copyright (C) 2013 Samsung Electronics
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation; either version 2.1 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #ifndef __JackPlatformPlug_android__
22 #define __JackPlatformPlug_android__
24 #define jack_server_dir "/data/misc/jack"
25 #define jack_client_dir "/data/misc/jack"
26 #define JACK_DEFAULT_DRIVER "alsa"
34 class JackAndroidThread
;
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 "JackAndroidThread.h"
50 namespace Jack
{ typedef JackAndroidThread JackThread
; }
52 /* __JackPlatformSynchro__ client activation */
55 namespace Jack { typedef JackFifo JackSynchro; }
58 #include "JackAndroidSemaphore.h"
59 namespace Jack
{ typedef JackAndroidSemaphore JackSynchro
; }
61 /* __JackPlatformChannelTransaction__ */
63 #include "JackSocket.h"
64 namespace Jack { typedef JackClientSocket JackChannelTransaction; }
67 /* __JackPlatformProcessSync__ */
68 #include "JackPosixProcessSync.h"
69 namespace Jack
{ typedef JackPosixProcessSync JackProcessSync
; }
71 /* __JackPlatformServerChannel__ */
72 #include "JackSocketServerChannel.h"
73 namespace Jack
{ typedef JackSocketServerChannel JackServerChannel
; }
75 /* __JackPlatformClientChannel__ */
76 #include "JackSocketClientChannel.h"
77 namespace Jack
{ typedef JackSocketClientChannel JackClientChannel
; }
79 /* __JackPlatformServerNotifyChannel__ */
80 #include "JackSocketServerNotifyChannel.h"
81 namespace Jack
{ typedef JackSocketServerNotifyChannel JackServerNotifyChannel
; }
83 /* __JackPlatformNotifyChannel__ */
84 #include "JackSocketNotifyChannel.h"
85 namespace Jack
{ typedef JackSocketNotifyChannel JackNotifyChannel
; }
87 /* __JackPlatformNetSocket__ */
88 #include "JackNetUnixSocket.h"
89 namespace Jack
{ typedef JackNetUnixSocket JackNetSocket
; }