summaryrefslogtreecommitdiff
path: root/android/a2dp-sink.h
diff options
context:
space:
mode:
authorJakub Tyszkowski <jakub.tyszkowski@tieto.com>2014-11-21 16:13:54 +0100
committerSzymon Janc <szymon.janc@gmail.com>2014-11-25 20:57:07 +0100
commit98e9d1ca5dc595e5ccce1cc823b426a50a6e7593 (patch)
treef69e005e9a4e73417fd432e2dda52ff64c13ccf0 /android/a2dp-sink.h
parent52336869851c28aa388ea6a08769bf4944fef974 (diff)
downloadbluez-98e9d1ca5dc595e5ccce1cc823b426a50a6e7593.tar.gz
android/a2dp-sink: Add skeleton for a2dp sink daemon
This adds stubs for a2dp sink role in daemon. As Sink uses the same HAL API, daemon can use the same structs and defines as Source does.
Diffstat (limited to 'android/a2dp-sink.h')
-rw-r--r--android/a2dp-sink.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/android/a2dp-sink.h b/android/a2dp-sink.h
new file mode 100644
index 000000000..d2c5ff423
--- /dev/null
+++ b/android/a2dp-sink.h
@@ -0,0 +1,25 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2014 Intel Corporation. All rights reserved.
+ *
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+bool bt_a2dp_sink_register(struct ipc *ipc, const bdaddr_t *addr, uint8_t mode);
+void bt_a2dp_sink_unregister(void);