summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-01 19:37:08 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-01 19:37:08 +0000
commite929f72c17c104ed4eb6c15bda8f5d2be58c8084 (patch)
tree3133ec9f9dfe8fe597a454f29fac761de63b6755
parent45b9e246914b37b72966734f788dc3d9de190204 (diff)
Add files for A2DP specific code
-rw-r--r--audio/Makefile.am2
-rw-r--r--audio/a2dp.c28
-rw-r--r--audio/a2dp.h23
3 files changed, 52 insertions, 1 deletions
diff --git a/audio/Makefile.am b/audio/Makefile.am
index 37acdf70..cc73f9be 100644
--- a/audio/Makefile.am
+++ b/audio/Makefile.am
@@ -13,7 +13,7 @@ service_PROGRAMS = bluetoothd-service-audio
bluetoothd_service_audio_SOURCES = main.c \
manager.h manager.c headset.h headset.c ipc.h unix.h unix.c \
error.h error.c device.h device.c gateway.h gateway.c \
- sink.c sink.h avdtp.c avdtp.h
+ sink.c sink.h avdtp.c avdtp.h a2dp.c a2dp.h
bluetoothd_service_audio_LDADD = $(top_builddir)/common/libhelper.a \
@GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@
diff --git a/audio/a2dp.c b/audio/a2dp.c
new file mode 100644
index 00000000..db0ed7cb
--- /dev/null
+++ b/audio/a2dp.c
@@ -0,0 +1,28 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2004-2007 Marcel Holtmann <marcel@holtmann.org>
+ *
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "a2dp.h"
diff --git a/audio/a2dp.h b/audio/a2dp.h
new file mode 100644
index 00000000..153a1731
--- /dev/null
+++ b/audio/a2dp.h
@@ -0,0 +1,23 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2004-2007 Marcel Holtmann <marcel@holtmann.org>
+ *
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+