diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-02 10:01:25 +0300 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-02 10:01:25 +0300 |
commit | e6f401c12cf9462052cb2df797270eece719aa0b (patch) | |
tree | a1a5718de5af6b15b4cb793023a23f08489bf5be /include | |
parent | f3a3f9b1e582786a4314a8e5d2d9509ff56d9c9f (diff) |
jitter buffer: First attempt at using the application's bufer status and
timing estimation on the get() side.
git-svn-id: http://svn.xiph.org/trunk/speex@14086 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'include')
-rw-r--r-- | include/speex/speex_jitter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/speex/speex_jitter.h b/include/speex/speex_jitter.h index 94395a7..a85981a 100644 --- a/include/speex/speex_jitter.h +++ b/include/speex/speex_jitter.h @@ -159,6 +159,12 @@ int jitter_buffer_get_pointer_timestamp(JitterBuffer *jitter); */ void jitter_buffer_tick(JitterBuffer *jitter); +/** Telling the jitter buffer about the remaining data in the application buffer + * @param jitter Jitter buffer state + * @param rem Amount of data buffered by the application (timestamp units) + */ +void jitter_buffer_remaining_span(JitterBuffer *jitter, spx_uint32_t rem); + /** Used like the ioctl function to control the jitter buffer parameters * * @param jitter Jitter buffer state |