mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-21 08:56:46 -05:00
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:
parent
eecf602476
commit
acb25b3510
62 changed files with 2473 additions and 755 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue