summaryrefslogtreecommitdiff
path: root/include/asterisk/codec.h
diff options
context:
space:
mode:
authorSean Bright <sean.bright@gmail.com>2017-05-28 16:43:12 -0400
committerSean Bright <sean.bright@gmail.com>2017-05-30 15:10:20 -0500
commit5c27fe218776b499cff772660f2b4b7ee42b3802 (patch)
treeae91d3e182e3e2ba9d86b5063fad9367e1064631 /include/asterisk/codec.h
parentcf60a0c5bd9f01cee8f70003329dccc32752691e (diff)
format: Reintroduce smoother flags
In review 4843 (ASTERISK-24858), we added a hack that forced a smoother creation when sending signed linear so that the byte order was adjusted during transmission. This was needed because smoother flags were lost during the new format work that was done in Asterisk 13. Rather than rolling that same hack into res_rtp_multicast, re-introduce smoother flags so that formats can dictate their own options. Change-Id: I77b835fba0e539c6ce50014a984766f63cab2c16
Diffstat (limited to 'include/asterisk/codec.h')
-rw-r--r--include/asterisk/codec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/codec.h b/include/asterisk/codec.h
index 2f5756cd1..79798acd0 100644
--- a/include/asterisk/codec.h
+++ b/include/asterisk/codec.h
@@ -76,6 +76,8 @@ struct ast_codec {
int (*get_length)(unsigned int samples);
/*! \brief Whether the media can be smoothed or not */
unsigned int smooth;
+ /*! \brief Flags to be passed to the smoother */
+ unsigned int smoother_flags;
/*! \brief The module that registered this codec */
struct ast_module *mod;
};