summaryrefslogtreecommitdiffstats
path: root/polyp/source.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/source.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/source.c')
-rw-r--r--polyp/source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/source.c b/polyp/source.c
index 2c611651..6ab439d6 100644
--- a/polyp/source.c
+++ b/polyp/source.c
@@ -62,7 +62,7 @@ struct pa_source* pa_source_new(struct pa_core *core, const char *name, int fail
r = pa_idxset_put(core->sources, 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, "source: created %u \"%s\" with sample spec \"%s\"\n", s->index, s->name, st);
pa_subscription_post(core, PA_SUBSCRIPTION_EVENT_SOURCE | PA_SUBSCRIPTION_EVENT_NEW, s->index);