proplist: Add internal API to get stream group

This moves out code from module-stream-restore and makes an internal API
out of it to get a "stream group" for a given sink input or source output.
This is factored out for reuse in module-filter-*.

The stream group basically provides some means of attaching a logical
identification to the stream (by role, application id, etc.).
This commit is contained in:
Arun Raghavan 2011-11-23 16:26:40 +05:30
parent c30a68ebbd
commit 1798c653db
3 changed files with 44 additions and 37 deletions

View file

@ -25,5 +25,6 @@
#include <pulse/proplist.h>
void pa_init_proplist(pa_proplist *p);
char *pa_proplist_get_stream_group(pa_proplist *pl, const char *prefix, const char *cache);
#endif