From e929f72c17c104ed4eb6c15bda8f5d2be58c8084 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 1 Aug 2007 19:37:08 +0000 Subject: Add files for A2DP specific code --- audio/Makefile.am | 2 +- audio/a2dp.c | 28 ++++++++++++++++++++++++++++ audio/a2dp.h | 23 +++++++++++++++++++++++ 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 audio/a2dp.c create mode 100644 audio/a2dp.h 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 + * + * + * 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 +#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 + * + * + * 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 + * + */ + -- cgit