diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-14 23:57:44 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-14 23:57:44 +0000 |
commit | 86aa2b26f880774127c5b3f7d4cb6e75432c0dfe (patch) | |
tree | 3514a96f9e23402449624204ceca0a1185d4ebba /include | |
parent | c38a98c3d1e0fadceadf874a59f56338fa86bed3 (diff) |
Add remainder of rtp fixes, iax2 patch (bug #3961)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5654 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/frame.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h index 695333514..d8a715a8f 100755 --- a/include/asterisk/frame.h +++ b/include/asterisk/frame.h @@ -399,6 +399,9 @@ extern int ast_codec_pref_string(struct ast_codec_pref *pref, char *buf, size_t /* Shift a codec preference list up or down 65 bytes so that it becomes an ASCII string */ extern void ast_codec_pref_convert(struct ast_codec_pref *pref, char *buf, size_t size, int right); +/* Returns the number of samples contained in the frame */ +extern int ast_codec_get_samples(struct ast_frame *f); + /* Gets duration in ms of interpolation frame for a format */ static inline int ast_codec_interp_len(int format) { |