summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/sink-input.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-13 02:17:24 +0200
committerLennart Poettering <lennart@poettering.net>2009-08-13 02:17:24 +0200
commit5ee4069e9e68f81a71d208bb720d0c6bc6112fdc (patch)
treeee2244ea18f790632ab25e54826e0c9de7a0f84e /src/pulsecore/sink-input.h
parent9a95fe49c848d2711dcdcf4c407e626e41e4657f (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.h4
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 */