From e02be6c15beddec976220bce2ee1a68520286c01 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 12 Dec 2004 22:58:53 +0000 Subject: * fix include file names in installed header files * add browsing API * add new tool pabrowse * add typeid subsystem * bump API version * split off random.c * add an identification cookie git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@320 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/source.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'polyp/source.c') diff --git a/polyp/source.c b/polyp/source.c index 7cdb9117..fc73272c 100644 --- a/polyp/source.c +++ b/polyp/source.c @@ -35,7 +35,7 @@ #include "subscribe.h" #include "log.h" -struct pa_source* pa_source_new(struct pa_core *core, const char *name, int fail, const struct pa_sample_spec *spec) { +struct pa_source* pa_source_new(struct pa_core *core, pa_typeid_t typeid, const char *name, int fail, const struct pa_sample_spec *spec) { struct pa_source *s; char st[256]; int r; @@ -53,6 +53,7 @@ struct pa_source* pa_source_new(struct pa_core *core, const char *name, int fail s->name = pa_xstrdup(name); s->description = NULL; + s->typeid = typeid; s->owner = NULL; s->core = core; -- cgit