From 581e7f18023682c05cb172ad06ced0c25d5e0c0f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 27 Oct 2007 15:48:01 +0000 Subject: add ability to "pause" the input time temporarily. don't accidently overwrite variables we still need. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1958 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/time-smoother.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/pulsecore/time-smoother.h') diff --git a/src/pulsecore/time-smoother.h b/src/pulsecore/time-smoother.h index 81647184..8b8512e2 100644 --- a/src/pulsecore/time-smoother.h +++ b/src/pulsecore/time-smoother.h @@ -29,10 +29,15 @@ typedef struct pa_smoother pa_smoother; -pa_smoother* pa_smoother_new(pa_usec_t adjust_x, pa_usec_t history_x, pa_bool_t monotonic); +pa_smoother* pa_smoother_new(pa_usec_t adjust_time, pa_usec_t history_time, pa_bool_t monotonic); void pa_smoother_free(pa_smoother* s); void pa_smoother_put(pa_smoother *s, pa_usec_t x, pa_usec_t y); pa_usec_t pa_smoother_get(pa_smoother *s, pa_usec_t x); +void pa_smoother_set_time_offset(pa_smoother *s, pa_usec_t offset); + +void pa_smoother_pause(pa_smoother *s, pa_usec_t x); +void pa_smoother_resume(pa_smoother *s, pa_usec_t x); + #endif -- cgit