summaryrefslogtreecommitdiff
path: root/android/JackControlAPIAndroid.h
diff options
context:
space:
mode:
authorKimJeongYeon <see2002@gmail.com>2014-02-05 00:38:12 +0900
committerKimJeongYeon <see2002@gmail.com>2014-02-05 00:38:12 +0900
commit4a94e12986b7f4925b0d457af8c3464ffbef2e2b (patch)
treeedc75c222bd44a92170e6a0c12932266061c5b84 /android/JackControlAPIAndroid.h
parent0742159cfa0cf403d5ba118fbf73bd089e6f10c2 (diff)
downloadjack2-4a94e12986b7f4925b0d457af8c3464ffbef2e2b.tar.gz
jack2 supports android devices & rebase current changes to master
Diffstat (limited to 'android/JackControlAPIAndroid.h')
-rw-r--r--android/JackControlAPIAndroid.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/android/JackControlAPIAndroid.h b/android/JackControlAPIAndroid.h
new file mode 100644
index 00000000..92694113
--- /dev/null
+++ b/android/JackControlAPIAndroid.h
@@ -0,0 +1,44 @@
+/*
+ JACK control API
+
+ Copyright (C) 2008 Nedko Arnaudov
+ Copyright (C) 2008 Grame
+ Copyright (C) 2013 Samsung Electronics
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+#ifndef __JackControlAPIAndroid__
+#define __JackControlAPIAndroid__
+
+#include "JackCompilerDeps.h"
+
+/** opaque type for sigmask object */
+typedef struct jackctl_sigmask jackctl_sigmask_t;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+SERVER_EXPORT int
+jackctl_wait_signals_and_return(
+ jackctl_sigmask_t * signals);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif
+