diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-21 03:23:36 +0300 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-21 03:23:36 +0300 |
commit | e37ee750c6afea92a709f027ffb50357ebbf497b (patch) | |
tree | 149d131a0363c699323a5fc3a78c8a67516bff36 /include/speex | |
parent | bc5da03475529316db1ab5b611944071a0aacd2d (diff) |
jitter buffer: put back the argument to the init function. Also, fixed an
incorrect behaviour the margin was non-zero and several packets arrived in
advance.
git-svn-id: http://svn.xiph.org/trunk/speex@14205 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'include/speex')
-rw-r--r-- | include/speex/speex_jitter.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/speex/speex_jitter.h b/include/speex/speex_jitter.h index 5bae9cb..d7bb9b1 100644 --- a/include/speex/speex_jitter.h +++ b/include/speex/speex_jitter.h @@ -117,10 +117,12 @@ struct _JitterBufferPacket { /** Initialises jitter buffer * - * @param tick Number of samples per "tick", i.e. the time period of the elements that will be retrieved + * @param step_size Starting value for the size of concleanment packets and delay + adjustment steps. Can be changed at any time using JITTER_BUFFER_SET_DELAY_STEP + and JITTER_BUFFER_GET_CONCEALMENT_SIZE. * @return Newly created jitter buffer state */ -JitterBuffer *jitter_buffer_init(void); +JitterBuffer *jitter_buffer_init(int step_size); /** Restores jitter buffer to its original state * |