diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-08-11 23:58:55 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-08-11 23:58:55 +0000 |
commit | bfa6604b1ddc5e2c0f1aaa15330363724856359b (patch) | |
tree | d4ed459ec7ea4948285cf21a618f86bd97b65bab /src/modules/module-combine.c | |
parent | af1b0317f653a3da092b45de3b27643359b9a85e (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-combine.c b/src/modules/module-combine.c index 4e3dd555..0a5bd472 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; |