summaryrefslogtreecommitdiffstats
path: root/src/sink.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-07-10 20:56:38 +0000
committerLennart Poettering <lennart@poettering.net>2004-07-10 20:56:38 +0000
commitc7bd759cdb2b8f16693750f89ed781707a53e5a9 (patch)
treed91b7d2e3dfd183adc4042d82c5aa61ba32c6ab2 /src/sink.h
parent025389693d292b7a1c5f2c6e0ce96efa14062274 (diff)
add description field for sinks/sources
add owner field to all entities add client file to source outputs and sink inputs git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@59 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/sink.h')
-rw-r--r--src/sink.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sink.h b/src/sink.h
index 7186f531..071ad094 100644
--- a/src/sink.h
+++ b/src/sink.h
@@ -13,7 +13,8 @@ struct pa_sink;
struct pa_sink {
uint32_t index;
- char *name;
+ char *name, *description;
+ struct pa_module *owner;
struct pa_core *core;
struct pa_sample_spec sample_spec;
struct pa_idxset *inputs;
@@ -42,6 +43,6 @@ char *pa_sink_list_to_string(struct pa_core *core);
struct pa_sink* pa_sink_get_default(struct pa_core *c);
-
+void pa_sink_set_owner(struct pa_sink *sink, struct pa_module *m);
#endif