aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/frame.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-20 17:52:31 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-20 17:52:31 +0000
commit37635ecfddf4b8588ad75a0711297d758b588a99 (patch)
tree7245c62b654dba30ee2e30e15f9e0849dd1839ee /include/asterisk/frame.h
parent74937e92ec1b92f4d70f742632f779738b5f6a6a (diff)
Major RTP fixes for using inbound SDP on outbound connection, get rid of
old local rtp stuff... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7551 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/frame.h')
-rw-r--r--include/asterisk/frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h
index 62c0b0dc0..c0815732b 100644
--- a/include/asterisk/frame.h
+++ b/include/asterisk/frame.h
@@ -452,6 +452,10 @@ extern int ast_codec_get_samples(struct ast_frame *f);
/*! \brief Returns the number of bytes for the number of samples of the given format */
extern int ast_codec_get_len(int format, int samples);
+/*! \brief Appends a frame to the end of a list of frames, truncating the maximum length of the list */
+extern struct ast_frame *ast_frame_enqueue(struct ast_frame *head, struct ast_frame *f, int maxlen, int dupe);
+
+
/*! \brief Gets duration in ms of interpolation frame for a format */
static inline int ast_codec_interp_len(int format)
{