summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cli-text.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-13 19:55:17 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-13 19:55:17 +0000
commita75e1ed9ef483c4c08f0fc963c0ea1a980f0c0e9 (patch)
tree1606249b18405428a9ebd7d2aa36678d0e38af22 /src/pulsecore/cli-text.c
parente0f7e8614ce06f2b0a4bd5a38189cf97b07c0d30 (diff)
implement hook_source_ouput_new. For this I modified the pa_source_output_new constructor to take a struct similar to what I already did for pa_sink_input_new()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1250 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/cli-text.c')
-rw-r--r--src/pulsecore/cli-text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/cli-text.c b/src/pulsecore/cli-text.c
index ff083dc3..49934c07 100644
--- a/src/pulsecore/cli-text.c
+++ b/src/pulsecore/cli-text.c
@@ -204,8 +204,8 @@ char *pa_source_output_list_to_string(pa_core *c) {
pa_sample_spec_snprint(ss, sizeof(ss), &o->sample_spec),
pa_channel_map_snprint(cm, sizeof(cm), &o->channel_map),
pa_resample_method_to_string(pa_source_output_get_resample_method(o)));
- if (o->owner)
- pa_strbuf_printf(s, "\towner module: <%u>\n", o->owner->index);
+ if (o->module)
+ pa_strbuf_printf(s, "\towner module: <%u>\n", o->module->index);
if (o->client)
pa_strbuf_printf(s, "\tclient: <%u> '%s'\n", o->client->index, o->client->name);
}