summaryrefslogtreecommitdiffstats
path: root/discover.c
AgeCommit message (Collapse)AuthorFilesLines
2016-10-11Implement routing groups and volume ramp up/downManuel Bachmann1-5/+15
Change-Id: I0e9d3b8b8be4d124907214c165617d86be6906fc Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-10-11Rename all internal pa_ definitions to agl_Manuel Bachmann1-57/+57
The plugin often uses "pa_" for its internal structures and functions, which is misleading because this prefix is also used by PulseAudio itself. Thus, reading the code can be confusing. Rename everything to "agl_". Change-Id: Iadd03daf528ec0cbed1cb526aeb3bada757a211f Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-10-11Clean up node status after sink_input unlinkManuel Bachmann1-2/+22
We now unload all modules associated with a node when it disappears. Change-Id: I6d2055d546c9cc1b1967f85c973eafcc216bc91f Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-10-11Fix invalid sink input treatment after module-loopbackManuel Bachmann1-0/+4
When loading module-loopback, it may create a new sink input replicating the original one, but with no client attached. We don't want to re-pass this one through the whole logic (with NULL sink, etc), so just consider it legit. Change-Id: I218c459e1685621c1f59e1d8722e0f1cff88d225 Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-10-11Initial commitManuel Bachmann1-0/+758
Change-Id: Ic974941bdd30309b4adb72b7a05959332750210b Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>