diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-22 07:11:26 +0300 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-22 07:11:26 +0300 |
commit | 2c10e1f008320f539380e8d89adf258a66f7daa3 (patch) | |
tree | ba60ed2290b522ea908fad443d437cd54e802e15 /include/speex | |
parent | 61133234154e5e4c00763125f78fc91e633dbbcd (diff) |
start_offset argument no longer required (original behaviour) and minor
changes to the get() return codes.
git-svn-id: http://svn.xiph.org/trunk/speex@14211 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'include/speex')
-rw-r--r-- | include/speex/speex_jitter.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/speex/speex_jitter.h b/include/speex/speex_jitter.h index d7bb9b1..cd767a0 100644 --- a/include/speex/speex_jitter.h +++ b/include/speex/speex_jitter.h @@ -63,16 +63,17 @@ struct _JitterBufferPacket { 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) */ }; /** Packet has been retrieved */ #define JITTER_BUFFER_OK 0 -/** Packet is missing */ +/** Packet is lost or is late */ #define JITTER_BUFFER_MISSING 1 -/** Packet is incomplete (does not cover the entire tick */ -#define JITTER_BUFFER_INCOMPLETE 2 +/** A "fake" packet is meant to be inserted here to increase buffering */ +#define JITTER_BUFFER_INSERTION 2 +/** One (or more) packet got automatically deleted */ +#define JITTER_BUFFER_DELETION 2 /** There was an error in the jitter buffer */ #define JITTER_BUFFER_INTERNAL_ERROR -1 /** Invalid argument */ |