mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
format_cache.c: Add missing slin12 format to ast_format_cache_is_slinear().
........ Merged revisions 434357 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -500,6 +500,7 @@ struct ast_format *ast_format_cache_get_slin_by_rate(unsigned int rate)
|
||||
int ast_format_cache_is_slinear(struct ast_format *format)
|
||||
{
|
||||
if ((ast_format_cmp(format, ast_format_slin) == AST_FORMAT_CMP_EQUAL)
|
||||
|| (ast_format_cmp(format, ast_format_slin12) == AST_FORMAT_CMP_EQUAL)
|
||||
|| (ast_format_cmp(format, ast_format_slin16) == AST_FORMAT_CMP_EQUAL)
|
||||
|| (ast_format_cmp(format, ast_format_slin24) == AST_FORMAT_CMP_EQUAL)
|
||||
|| (ast_format_cmp(format, ast_format_slin32) == AST_FORMAT_CMP_EQUAL)
|
||||
|
Reference in New Issue
Block a user