diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-12-12 22:58:53 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-12-12 22:58:53 +0000 |
commit | e02be6c15beddec976220bce2ee1a68520286c01 (patch) | |
tree | da9cfdfd7a254fa7e8e21b1ef29456b852dbc133 /polyp/sink-input.c | |
parent | 9a01cf44f09e92e14a720f4f531e943a50f26b72 (diff) |
* 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
Diffstat (limited to 'polyp/sink-input.c')
-rw-r--r-- | polyp/sink-input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/polyp/sink-input.c b/polyp/sink-input.c index 347b8f5c..3e7fdf7b 100644 --- a/polyp/sink-input.c +++ b/polyp/sink-input.c @@ -36,7 +36,7 @@ #define CONVERT_BUFFER_LENGTH 4096 -struct pa_sink_input* pa_sink_input_new(struct pa_sink *s, const char *name, const struct pa_sample_spec *spec, int variable_rate, int resample_method) { +struct pa_sink_input* pa_sink_input_new(struct pa_sink *s, pa_typeid_t typeid, const char *name, const struct pa_sample_spec *spec, int variable_rate, int resample_method) { struct pa_sink_input *i; struct pa_resampler *resampler = NULL; int r; @@ -59,6 +59,7 @@ struct pa_sink_input* pa_sink_input_new(struct pa_sink *s, const char *name, con i->ref = 1; i->state = PA_SINK_INPUT_RUNNING; i->name = pa_xstrdup(name); + i->typeid = typeid; i->client = NULL; i->owner = NULL; i->sink = s; |