mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
core: add functions to query max_rewind/max_request values from streams
This commit is contained in:
parent
9a95fe49c8
commit
5ee4069e9e
4 changed files with 33 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue