core: add functions to query max_rewind/max_request values from streams

This commit is contained in:
Lennart Poettering 2009-08-13 02:17:24 +02:00
parent 9a95fe49c8
commit 5ee4069e9e
4 changed files with 33 additions and 0 deletions

View file

@ -303,6 +303,10 @@ void pa_sink_input_cork(pa_sink_input *i, pa_bool_t b);
int pa_sink_input_set_rate(pa_sink_input *i, uint32_t rate);
/* This returns the sink's fields converted into out sample type */
size_t pa_sink_input_get_max_rewind(pa_sink_input *i);
size_t pa_sink_input_get_max_request(pa_sink_input *i);
/* Callable by everyone from main thread*/
/* External code may request disconnection with this function */