[pulseaudio-discuss] [PATCH 4/4] bluez 5: remove null headset backend

David Henningsson david.henningsson at canonical.com
Mon Nov 3 03:38:22 PST 2014


There is no need to have a "null" backend anymore.

Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
 src/modules/bluetooth/backend-null.c | 37 ------------------------------------
 1 file changed, 37 deletions(-)
 delete mode 100644 src/modules/bluetooth/backend-null.c

diff --git a/src/modules/bluetooth/backend-null.c b/src/modules/bluetooth/backend-null.c
deleted file mode 100644
index 6e621a7..0000000
--- a/src/modules/bluetooth/backend-null.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/***
-  This file is part of PulseAudio.
-
-  Copyright 2013 João Paulo Rechi Vita
-
-  PulseAudio 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.
-
-  PulseAudio 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 Lesser General Public
-  License along with PulseAudio; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-  USA.
-***/
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <pulsecore/log.h>
-
-#include "bluez5-util.h"
-
-pa_bluetooth_backend *pa_bluetooth_backend_new(pa_core *c, pa_bluetooth_discovery *y) {
-    pa_log_debug("Bluetooth Headset Backend API support disabled");
-    return NULL;
-}
-
-void pa_bluetooth_backend_free(pa_bluetooth_backend *b) {
-    /* Nothing to do here */
-}
-- 
1.9.1



More information about the pulseaudio-discuss mailing list