diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/ctl_bluetooth.c | 12 | ||||
-rw-r--r-- | audio/pcm_bluetooth.c | 12 |
2 files changed, 24 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); diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c index 7e9755b8..b9f4f02c 100644 --- a/audio/pcm_bluetooth.c +++ b/audio/pcm_bluetooth.c @@ -24,3 +24,15 @@ #ifdef HAVE_CONFIG_H #include <config.h> #endif + +#include <alsa/asoundlib.h> +#include <alsa/pcm_external.h> + +SND_PCM_PLUGIN_DEFINE_FUNC(bluetooth) +{ + printf("Bluetooth PCM plugin\n"); + + return -EIO; +} + +SND_PCM_PLUGIN_SYMBOL(bluetooth); |