[asterisk-dev] [Code Review] 3178: media_formats: Moving of existing code around, implementation, and unit tests
Joshua Colp
reviewboard at asterisk.org
Tue Feb 25 06:50:12 CST 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3178/
-----------------------------------------------------------
(Updated Feb. 25, 2014, 12:50 p.m.)
Review request for Asterisk Developers.
Repository: Asterisk
Description
-------
This change has a few things in it:
1. Some media related things have been moved around to more logical places or their own parts (smoothers).
2. A new implementation of media formats according to https://wiki.asterisk.org/wiki/display/AST/Media+Format+Rewrite. The implementation doesn't completely adhere to the design since I tweaked things but it mostly conforms.
3. Unit tests for the above implementation.
What I'd like feedback on is the actual media formats implementation and the API design itself. Is this something you would be comfortable using?
Diffs (updated)
-----
/trunk/tests/test_format_cap.c PRE-CREATION
/trunk/tests/test_format_cache.c PRE-CREATION
/trunk/tests/test_core_format.c PRE-CREATION
/trunk/tests/test_core_codec.c PRE-CREATION
/trunk/res/res_rtp_asterisk.c 407439
/trunk/res/res_fax.c 407439
/trunk/main/smoother.c PRE-CREATION
/trunk/main/frame.c 407439
/trunk/main/format_ng.c PRE-CREATION
/trunk/main/format_cap_ng.c PRE-CREATION
/trunk/main/format_cache.c PRE-CREATION
/trunk/main/format.c 407439
/trunk/main/codec_builtin.c PRE-CREATION
/trunk/main/codec.c PRE-CREATION
/trunk/main/asterisk.c 407439
/trunk/include/asterisk/vector.h 407439
/trunk/include/asterisk/smoother.h PRE-CREATION
/trunk/include/asterisk/frame.h 407439
/trunk/include/asterisk/format_ng.h PRE-CREATION
/trunk/include/asterisk/format_cap_ng.h PRE-CREATION
/trunk/include/asterisk/format_cache.h PRE-CREATION
/trunk/include/asterisk/format.h 407439
/trunk/include/asterisk/codec.h PRE-CREATION
Diff: https://reviewboard.asterisk.org/r/3178/diff/
Testing
-------
Ran unit tests, all passed.
Note: I know AO2 throws a fit and it's because a container isn't getting initialized. Getting said container initialized requires beginning the hacking apart process.
Thanks,
Joshua Colp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140225/4c406114/attachment.html>
More information about the asterisk-dev
mailing list