main part of the native protocol

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@31 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-06-23 23:17:30 +00:00
parent eecf602476
commit acb25b3510
62 changed files with 2473 additions and 755 deletions

View file

@ -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;