diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-10-27 15:48:01 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-10-27 15:48:01 +0000 |
commit | 581e7f18023682c05cb172ad06ced0c25d5e0c0f (patch) | |
tree | 2ba7ed1a9fb550e4338ee79fc71286c80adb6a2b /src/pulsecore/time-smoother.h | |
parent | 55e4a3e221ef2adbc53a7c00a2e2fade2390036e (diff) |
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
Diffstat (limited to 'src/pulsecore/time-smoother.h')
-rw-r--r-- | src/pulsecore/time-smoother.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 |