aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/radio
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2016-01-11 02:43:19 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2016-01-11 02:43:19 +0100
commitf16675ed24fd331903b8d6ef5d8ac07f6acbd6b0 (patch)
tree2852205153bdd62560f05eae05b899905942b376 /plugins/radio
parent14c6ab749e9ccfdde8d191c10e2d0426da53df1f (diff)
Audio Plugin: add PulseAudio support
If PulseAudio development libraries are present, Audio plugin will now support it. It may still fall back to ALSA if a PulseAudio server is not found at runtime. PulseAudio backend supports multiple clients using one audio adapter. (+ various fixes and style improvements) Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins/radio')
-rw-r--r--plugins/radio/radio-api.c1
-rw-r--r--plugins/radio/radio-rtlsdr.c1
-rw-r--r--plugins/radio/radio-rtlsdr.h2
3 files changed, 1 insertions, 3 deletions
diff --git a/plugins/radio/radio-api.c b/plugins/radio/radio-api.c
index d6855fea..919a875f 100644
--- a/plugins/radio/radio-api.c
+++ b/plugins/radio/radio-api.c
@@ -17,7 +17,6 @@
*/
#include "radio-api.h"
-#include "radio-rtlsdr.h"
/* ********************************************************
diff --git a/plugins/radio/radio-rtlsdr.c b/plugins/radio/radio-rtlsdr.c
index a8c15faa..b99cf9b7 100644
--- a/plugins/radio/radio-rtlsdr.c
+++ b/plugins/radio/radio-rtlsdr.c
@@ -17,7 +17,6 @@
*/
#include "radio-api.h"
-#include "radio-rtlsdr.h"
/* ------------- RADIO RTLSDR IMPLEMENTATION ---------------- */
diff --git a/plugins/radio/radio-rtlsdr.h b/plugins/radio/radio-rtlsdr.h
index 74049a9b..b0c22de0 100644
--- a/plugins/radio/radio-rtlsdr.h
+++ b/plugins/radio/radio-rtlsdr.h
@@ -69,7 +69,7 @@ struct output_ctx {
};
struct dev_ctx {
- int used; // radio is free ???
+ int used; /* TODO: radio is free ??? */
rtlsdr_dev_t* dev;
Mode mode;
float freq;