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/sourceoutput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sourceoutput.c') diff --git a/src/sourceoutput.c b/src/sourceoutput.c index 8021b522..e2e1dacc 100644 --- a/src/sourceoutput.c +++ b/src/sourceoutput.c @@ -5,7 +5,7 @@ #include "sourceoutput.h" #include "strbuf.h" -struct source_output* source_output_new(struct source *s, struct sample_spec *spec, const char *name) { +struct source_output* source_output_new(struct source *s, struct pa_sample_spec *spec, const char *name) { struct source_output *o; int r; assert(s && spec); @@ -14,7 +14,7 @@ struct source_output* source_output_new(struct source *s, struct sample_spec *sp assert(o); o->name = name ? strdup(name) : NULL; o->source = s; - o->spec = *spec; + o->sample_spec = *spec; o->push = NULL; o->kill = NULL; -- cgit