diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-15 17:36:59 +0300 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-15 17:36:59 +0300 |
commit | 37c520cdecba69716a96d935eafe2126695a2112 (patch) | |
tree | d24a77e3f932f7cec5139dc104b1259309be6cea /include/speex | |
parent | 1c81f723d2d532d4d46bbce919e83f693d0f4b78 (diff) |
jitter buffer: Minor API changing. Also doing rounding directly in the delay
search.
git-svn-id: http://svn.xiph.org/trunk/speex@14153 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'include/speex')
-rw-r--r-- | include/speex/speex_jitter.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/speex/speex_jitter.h b/include/speex/speex_jitter.h index 82d5376..063b4bd 100644 --- a/include/speex/speex_jitter.h +++ b/include/speex/speex_jitter.h @@ -62,6 +62,8 @@ struct _JitterBufferPacket { spx_uint32_t len; /**< Length of the packet in bytes */ spx_uint32_t timestamp; /**< Timestamp for the packet */ spx_uint32_t span; /**< Time covered by the packet (same units as timestamp) */ + spx_uint16_t sequence; /**< RTP Sequence number if available (0 otherwise) */ + spx_uint16_t flags; /**< Info about the returned packet */ spx_uint32_t user_data; /**< Put whatever data you like here (it's ignored by the jitter buffer) */ }; @@ -108,13 +110,6 @@ 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 - /** Initialises jitter buffer * * @param tick Number of samples per "tick", i.e. the time period of the elements that will be retrieved |