summaryrefslogtreecommitdiffstats
path: root/polyp/sink.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-08-17 17:56:09 +0000
committerLennart Poettering <lennart@poettering.net>2004-08-17 17:56:09 +0000
commit711de8df9b78a46d4e12b810c26d26e9ead294e6 (patch)
tree17223f15de0b84fa1a06fc54920266febeff695c /polyp/sink.c
parentca2265f37277081b4fe82e375923483c2e03931d (diff)
autoconf beefup
build fixes git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@134 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/sink.c')
-rw-r--r--polyp/sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/sink.c b/polyp/sink.c
index eb3133ac..becaef9e 100644
--- a/polyp/sink.c
+++ b/polyp/sink.c
@@ -76,7 +76,7 @@ struct pa_sink* pa_sink_new(struct pa_core *core, const char *name, int fail, co
r = pa_idxset_put(core->sinks, s, &s->index);
assert(s->index != PA_IDXSET_INVALID && r >= 0);
- pa_sample_snprint(st, sizeof(st), spec);
+ pa_sample_spec_snprint(st, sizeof(st), spec);
fprintf(stderr, "sink: created %u \"%s\" with sample spec \"%s\"\n", s->index, s->name, st);
pa_subscription_post(core, PA_SUBSCRIPTION_EVENT_SINK | PA_SUBSCRIPTION_EVENT_NEW, s->index);