summaryrefslogtreecommitdiffstats
path: root/polyp/sink-input.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/sink-input.h')
-rw-r--r--polyp/sink-input.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/polyp/sink-input.h b/polyp/sink-input.h
index e2478ed6..e5b06387 100644
--- a/polyp/sink-input.h
+++ b/polyp/sink-input.h
@@ -54,7 +54,7 @@ struct pa_sink_input {
struct pa_resampler *resampler;
};
-struct pa_sink_input* pa_sink_input_new(struct pa_sink *s, const char *name, const struct pa_sample_spec *spec);
+struct pa_sink_input* pa_sink_input_new(struct pa_sink *s, const char *name, const struct pa_sample_spec *spec, int variable_rate);
void pa_sink_input_free(struct pa_sink_input* i);
/* Code that didn't create the input stream should call this function to
@@ -70,4 +70,6 @@ void pa_sink_input_set_volume(struct pa_sink_input *i, pa_volume_t volume);
void pa_sink_input_cork(struct pa_sink_input *i, int b);
+void pa_sink_input_set_rate(struct pa_sink_input *i, uint32_t rate);
+
#endif