[asterisk-dev] [Code Review] 3178: media_formats: Moving of existing code around, implementation, and unit tests
Joshua Colp
reviewboard at asterisk.org
Fri Mar 7 15:01:02 CST 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3178/
-----------------------------------------------------------
(Updated March 7, 2014, 9:01 p.m.)
Status
------
This change has been marked as submitted.
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
-----
/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/20140307/6eb68d56/attachment-0001.html>
More information about the asterisk-dev
mailing list