summaryrefslogtreecommitdiffstats
path: root/audio/ctl_bluetooth.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-04-04 09:51:11 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-04-04 09:51:11 +0000
commit5ad9e0ec87dd078dc2a4e70967f1e9ace1ebf43f (patch)
tree735ada5845275780ba1f83532d462c21574a0e85 /audio/ctl_bluetooth.c
parent31a3adbb73dd4b629b19d87157a1731758ddcaa1 (diff)
Add basic plugin code
Diffstat (limited to 'audio/ctl_bluetooth.c')
-rw-r--r--audio/ctl_bluetooth.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/ctl_bluetooth.c b/audio/ctl_bluetooth.c
index 7e9755b8..511a1b24 100644
--- a/audio/ctl_bluetooth.c
+++ b/audio/ctl_bluetooth.c
@@ -24,3 +24,15 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+
+#include <alsa/asoundlib.h>
+#include <alsa/control_external.h>
+
+SND_CTL_PLUGIN_DEFINE_FUNC(bluetooth)
+{
+ printf("Bluetooth control plugin\n");
+
+ return -EIO;
+}
+
+SND_CTL_PLUGIN_SYMBOL(bluetooth);