summaryrefslogtreecommitdiffstats
path: root/plugins/audio/audio-pulse.c
AgeCommit message (Collapse)AuthorFilesLines
2016-05-27Improve Audio plugin PulseAudio backendManuel Bachmann1-4/+4
>100 return values are strangely returned by PulseAudio when doing an initial connection from afb-daemon. Just ignore them, because it breaks the logic. Allow 2 seconds of initial asynchronous connection (it should return earlier anyways). Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-27Improve Audio plugin PulseAudio backendManuel Bachmann1-26/+38
Remove obvious errors from the PulseAudio backend. It does not work yet (permissions issues ?), and some parts of the code are still hardly self-explaining. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-23Fix Radio plugin linking, improve Radio codeManuel Bachmann1-1/+1
Radio plugin now links correctly again (-lm was missing). Fix Radio plugin logic for new API, guard against some undefined values. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-11Update Audio plugin, re-enable ALSA/Pulse linkingManuel Bachmann1-18/+23
Audio plugin is now ported to new API and builds again. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-04-18changing the license to apache 2José Bollo1-10/+9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05Audio plugin: re-enable PulseAudio backend buildManuel Bachmann1-8/+11
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-04-05Audio plugin: adapt to new API, re-enable buildManuel Bachmann1-4/+4
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-02-17Audio plugin: choose between Pulse/ALSA at runtimeManuel Bachmann1-0/+2
If the AFB_AUDIO_OUTPUT environment variable is defined to "Pulse/Alsa", it will try to initialize the given backend (still falling back to Alsa for now). Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-01-11Audio Plugin: add PulseAudio supportManuel Bachmann1-0/+448
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>