summaryrefslogtreecommitdiff
path: root/src/modules/module-combine.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-11 23:58:55 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-11 23:58:55 +0000
commitbfa6604b1ddc5e2c0f1aaa15330363724856359b (patch)
treed4ed459ec7ea4948285cf21a618f86bd97b65bab /src/modules/module-combine.c
parentaf1b0317f653a3da092b45de3b27643359b9a85e (diff)
downloadpulseaudio-bfa6604b1ddc5e2c0f1aaa15330363724856359b.tar.gz
don't set the sink/source descriptions manually, use the new functions pa_{sink,source}_set_description() instead
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1205 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/module-combine.c')
-rw-r--r--src/modules/module-combine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-combine.c b/src/modules/module-combine.c
index 4e3dd555e..0a5bd4720 100644
--- a/src/modules/module-combine.c
+++ b/src/modules/module-combine.c
@@ -381,7 +381,7 @@ int pa__init(pa_core *c, pa_module*m) {
}
pa_sink_set_owner(u->sink, m);
- u->sink->description = pa_sprintf_malloc("Combined sink");
+ pa_sink_set_description(u->sink, "Combined sink");
u->sink->get_latency = sink_get_latency_cb;
u->sink->userdata = u;