diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-10-07 13:54:49 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-10-07 13:54:49 +0000 |
commit | efc81a8f20652147aa720d8fd3803105081ad2a6 (patch) | |
tree | d8369f8ab2796b207ea26fb49b520a7703a688dc /src/pulse/timeval.h | |
parent | d74fa66f35eda1add73313d60c321f63269b3c56 (diff) |
add new API function pa_timeval_store()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1934 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulse/timeval.h')
-rw-r--r-- | src/pulse/timeval.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulse/timeval.h b/src/pulse/timeval.h index e90df9f8..60b9d085 100644 --- a/src/pulse/timeval.h +++ b/src/pulse/timeval.h @@ -55,6 +55,9 @@ pa_usec_t pa_timeval_age(const struct timeval *tv); /** Add the specified time inmicroseconds to the specified timeval structure */ struct timeval* pa_timeval_add(struct timeval *tv, pa_usec_t v) PA_GCC_PURE; +/** Store the specified uec value in the timeval struct */ +struct timeval* pa_timeval_store(struct timeval *tv, pa_usec_t v); + PA_C_DECL_END #endif |