diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-15 16:50:21 +0300 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-15 16:50:21 +0300 |
commit | 1c81f723d2d532d4d46bbce919e83f693d0f4b78 (patch) | |
tree | 9cd7ebc5462924c96165c07eaacdbb4b221be5a8 /include/speex | |
parent | cea8bc73fb886f4ace3e4bcf988d60f6f685a320 (diff) |
jitter buffer: Changed the API -- again. Also, some rounding and bug-fixing.
git-svn-id: http://svn.xiph.org/trunk/speex@14150 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'include/speex')
-rw-r--r-- | include/speex/speex_jitter.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/speex/speex_jitter.h b/include/speex/speex_jitter.h index 6e75e3c..82d5376 100644 --- a/include/speex/speex_jitter.h +++ b/include/speex/speex_jitter.h @@ -98,8 +98,8 @@ struct _JitterBufferPacket { /** */ #define JITTER_BUFFER_GET_DELAY_STEP 7 -#define JITTER_BUFFER_SET_LOSS_SIZE 8 -#define JITTER_BUFFER_GET_LOSS_SIZE 9 +#define JITTER_BUFFER_SET_CONCEALMENT_SIZE 8 +#define JITTER_BUFFER_GET_CONCEALMENT_SIZE 9 #define JITTER_BUFFER_SET_MAX_LATE_RATE 10 #define JITTER_BUFFER_GET_MAX_LATE_RATE 11 @@ -108,6 +108,9 @@ struct _JitterBufferPacket { #define JITTER_BUFFER_GET_LATE_COST 13 + + + #define JITTER_BUFFER_ADJUST_INTERPOLATE -1 #define JITTER_BUFFER_ADJUST_OK 0 #define JITTER_BUFFER_ADJUST_DROP 1 @@ -117,7 +120,7 @@ struct _JitterBufferPacket { * @param tick Number of samples per "tick", i.e. the time period of the elements that will be retrieved * @return Newly created jitter buffer state */ -JitterBuffer *jitter_buffer_init(int tick); +JitterBuffer *jitter_buffer_init(void); /** Restores jitter buffer to its original state * |