From acb25b35102dfca08f66e155560f6c99cb8fa841 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 23 Jun 2004 23:17:30 +0000 Subject: main part of the native protocol git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@31 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/sinkinput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sinkinput.c') diff --git a/src/sinkinput.c b/src/sinkinput.c index 2e6a8c36..b81c9c71 100644 --- a/src/sinkinput.c +++ b/src/sinkinput.c @@ -5,7 +5,7 @@ #include "sinkinput.h" #include "strbuf.h" -struct sink_input* sink_input_new(struct sink *s, struct sample_spec *spec, const char *name) { +struct sink_input* sink_input_new(struct sink *s, struct pa_sample_spec *spec, const char *name) { struct sink_input *i; int r; assert(s && spec); @@ -14,7 +14,7 @@ struct sink_input* sink_input_new(struct sink *s, struct sample_spec *spec, cons assert(i); i->name = name ? strdup(name) : NULL; i->sink = s; - i->spec = *spec; + i->sample_spec = *spec; i->peek = NULL; i->drop = NULL; -- cgit