diff options
Diffstat (limited to 'include/asterisk/format_pref.h')
-rw-r--r-- | include/asterisk/format_pref.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/format_pref.h b/include/asterisk/format_pref.h index 9a7e06741..f5c3c22a7 100644 --- a/include/asterisk/format_pref.h +++ b/include/asterisk/format_pref.h @@ -69,6 +69,9 @@ struct ast_format *ast_codec_pref_index(struct ast_codec_pref *pref, int index, /*! \brief Remove audio a codec from a preference list */ void ast_codec_pref_remove(struct ast_codec_pref *pref, struct ast_format *format); +/*! \brief Append all codecs to a preference list, without disturbing existing order */ +void ast_codec_pref_append_all(struct ast_codec_pref *pref); + /*! \brief Append a audio codec to a preference list, removing it first if it was already there */ int ast_codec_pref_append(struct ast_codec_pref *pref, struct ast_format *format); |