diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-08-13 02:17:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-13 02:17:24 +0200 |
commit | 5ee4069e9e68f81a71d208bb720d0c6bc6112fdc (patch) | |
tree | ee2244ea18f790632ab25e54826e0c9de7a0f84e /src/pulsecore/sink-input.h | |
parent | 9a95fe49c848d2711dcdcf4c407e626e41e4657f (diff) |
core: add functions to query max_rewind/max_request values from streams
Diffstat (limited to 'src/pulsecore/sink-input.h')
-rw-r--r-- | src/pulsecore/sink-input.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/sink-input.h b/src/pulsecore/sink-input.h index 5ede1ca8..cd424e87 100644 --- a/src/pulsecore/sink-input.h +++ b/src/pulsecore/sink-input.h @@ -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 */ |