Skip to content
Snippets Groups Projects
Commit 2bd9e008 authored by Richard Mudgett's avatar Richard Mudgett
Browse files

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
parent 3f54af68
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment