diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-08-22 21:50:59 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-08-22 21:50:59 +0000 |
commit | 73b35c403df78c10e03ded497fcb16fcb23b822e (patch) | |
tree | d55fc60d89e31e0b826884e13efd05dee1fb95ca /audio/gstbluetooth.c | |
parent | 33fcbce4ce2c8b409fd242c64e45c664098e66b9 (diff) |
Add skeleton for an A2DP sink element
Diffstat (limited to 'audio/gstbluetooth.c')
-rw-r--r-- | audio/gstbluetooth.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/audio/gstbluetooth.c b/audio/gstbluetooth.c index ece6aa9e..392de194 100644 --- a/audio/gstbluetooth.c +++ b/audio/gstbluetooth.c @@ -25,18 +25,24 @@ #include <config.h> #endif -#include <stdint.h> +#include "gsta2dpsink.h" -#include <gst/gst.h> - -#include "ipc.h" -#include "sbc.h" +GST_DEBUG_CATEGORY(bluetooth_debug); static gboolean plugin_init(GstPlugin *plugin) { + GST_INFO("Bluetooth plugin %s", VERSION); + + if (gst_element_register(plugin, "a2dpsink", + GST_RANK_PRIMARY, GST_TYPE_A2DP_SINK) == FALSE) + return FALSE; + + GST_DEBUG_CATEGORY_INIT(bluetooth_debug, "bluetooth", 0, + "Bluetooth plugin"); + return TRUE; } GST_PLUGIN_DEFINE(GST_VERSION_MAJOR, GST_VERSION_MINOR, "bluetooth", "Bluetooth plugin library", - plugin_init, VERSION, "LGPL", PACKAGE, "http://www.bluez.org/") + plugin_init, VERSION, "LGPL", "BlueZ", "http://www.bluez.org/") |