diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-16 07:45:36 +0300 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-16 07:45:36 +0300 |
commit | 6eb07e6a087245c5effd11b104b9b99ba6e44a29 (patch) | |
tree | 14913bb074f845fbaf04319329ba4844a77b1be2 /include/speex | |
parent | 747e773029b0e149f9d4c24f4e248aa78047872c (diff) |
jitter buffer: comments on new algo
git-svn-id: http://svn.xiph.org/trunk/speex@14162 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'include/speex')
-rw-r--r-- | include/speex/speex_jitter.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/speex/speex_jitter.h b/include/speex/speex_jitter.h index 063b4bd..5bae9cb 100644 --- a/include/speex/speex_jitter.h +++ b/include/speex/speex_jitter.h @@ -90,22 +90,27 @@ struct _JitterBufferPacket { /** Included because of an early misspelling (will remove in next release) */ #define JITTER_BUFFER_GET_AVALIABLE_COUNT 3 -/** */ +/** Assign a function to destroy unused packet. When setting that, the jitter + buffer no longer copies packet data. */ #define JITTER_BUFFER_SET_DESTROY_CALLBACK 4 /** */ #define JITTER_BUFFER_GET_DESTROY_CALLBACK 5 -/** */ +/** Tell the jitter buffer to only adjust the delay in multiples of the step parameter provided */ #define JITTER_BUFFER_SET_DELAY_STEP 6 /** */ #define JITTER_BUFFER_GET_DELAY_STEP 7 +/** Tell the jitter buffer to only do concealment in multiples of the size parameter provided */ #define JITTER_BUFFER_SET_CONCEALMENT_SIZE 8 #define JITTER_BUFFER_GET_CONCEALMENT_SIZE 9 +/** Absolute max amount of loss that can be tolerated regardless of the delay. Typical loss + should be half of that or less. */ #define JITTER_BUFFER_SET_MAX_LATE_RATE 10 #define JITTER_BUFFER_GET_MAX_LATE_RATE 11 +/** Equivalent cost of one percent late packet in timestamp units */ #define JITTER_BUFFER_SET_LATE_COST 12 #define JITTER_BUFFER_GET_LATE_COST 13 |