[asterisk-commits] dvossel: branch dvossel/opus_codec_ftw r329785 - /team/dvossel/opus_codec_ftw...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 27 14:44:16 CDT 2011


Author: dvossel
Date: Wed Jul 27 14:44:12 2011
New Revision: 329785

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=329785
Log:
Temporary logic to calculate samples in opus frame

Modified:
    team/dvossel/opus_codec_ftw/main/frame.c

Modified: team/dvossel/opus_codec_ftw/main/frame.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/opus_codec_ftw/main/frame.c?view=diff&rev=329785&r1=329784&r2=329785
==============================================================================
--- team/dvossel/opus_codec_ftw/main/frame.c (original)
+++ team/dvossel/opus_codec_ftw/main/frame.c Wed Jul 27 14:44:12 2011
@@ -1012,6 +1012,7 @@
 			return 160;
 		}
 	case AST_FORMAT_CELT:
+	case AST_FORMAT_OPUS:
 		/* TODO The assumes 20ms delivery right now, which is incorrect */
 		samples = ast_format_rate(&f->subclass.format) / 50;
 		break;




More information about the asterisk-commits mailing list