rvoip-codec-core 0.3.8

G.711 and optional G.729/Opus/AMR audio codec implementations for RVOIP
Documentation
��������������������������������������������������������������������������������������������,�X��|����|��@ ��\@��4�� ������0�����������P�����<��(�������8�����$�,����������\�|�t�����4��@@X�$�X�D����������T������8������<�(��(����� ���@	|
������H
��p�h�Pp\|���,����4�����������P�L��,���x� ����\�p����������H���4
�HX�(T
����
(,��
���p���d�����D���\�l���P������h�d����x������x������`��������H
Td�����
0�x�
4
���`�����p����L�0�������X������������x�@�0�l���0|\8��(��	�TT�p`XPX��xD	�
�d��d���������x�8�T�`���4�(�����$��,�,���������X
�
�H�x
����d$�`�	 ��(����X�4���$�d�������L���������@��0�4����`���8�`X�d`8�X
$	���,�8d�|`���@���p�(���p�����P�������L��0�����`������������P���X���	���`8� ��	�
8
���T<��\������@�������<�����(�����x����4�D��h���\L	\
x|�P
��$$��40t
�
,L��th���X���0�D���`�<�8���h�|�<�d�l�<��������X�P����	�
�����	���h,p,@<(,����4�����,���8������\���|�4��<��0�l�0�D���d������������t�4�@L
���XXX�8	`�$d����� �������������������T�������0��@����4�D0�	
�L��(	P���l�"�" \�
�
��p�Xph�
�,�t�\���h�$���,�D�,���|�������������l����������
�\�t
�	<�
�4d
��|#�"���p@����@���������l�,���T�,��ݰ��������`��X�l�������8�|����Xth��@���4t	�
h��$�p��<�����X�����(���p��������H�0�,ެ�����������������������0��x� �$l#dl�
l
�$(\ <�(,����\���L�t���<�����x�t�0�������H�D���P���lH�D�����
��p!<&�$�4pD�@�,�$�D�	�x�,����D�<ޜ�h�(��������h�d�(�������������XD\4�����
88dl��P�\d
�����`�������H���|������� ��8�d�����������0�������<���������l
�|L�$", 8�l�
��ph�0<�4
��������@�����$�8�\������߼�dߘ�(��\�L�L���T���� �	8t��!�%`#�l���
�	�4���
t8`�h�<����߰�|�4�`��,���|�8�|���P�T���h���p����0
@H�\h
���$�'�$�$\�``H�4����X����������p�D�`ݸ�8��`�p�����l��l�,�@����t�`�d��t$�H�H�h���
�d��(P,��|<`���l��� ���H��������4������ذ��܈�|���`�����8H��h�����p��$H#�%<!Dd|
�,��(|��
�,�t�����t���p�����d�����l���<���,���h�����	x���
���X �'()�#���L������T	T
X���������4ް�ߠ���D������,�������������4\T<��0��
�(�0�d�0H������L�����������P����L��(����݌ۈ�|��������|���������@���@�,�d$ �$�$���
�
�P���l���������<�����p��P�@��������ސ٤�����������L���|�	t�<�4#�)*|#��`�p4X
,��p���,�����0�,�D����8��0�$�T�����h��H����������|��H�|
��X%�%l!�Dt< ��$��� ��d���D�$�$�0�0�,��H��h���� ��t�h�p��������8��@�����\��8���
��p P�X���@���������D����������H�X�<���H��l��p�������l�����T�t�
��t��$L)�'L ����$��
d�d�
��x�d���ބ������\��<�4�D�����݈����t���@���
�l�x�hP(�!'�%l�t���	����������T����p��ܨ��������0��(��������\����4�� 	���|t����,\l�<���d���\�d�����d�d�8��(�L��<������ޠ���|��� ����������L����p$`t���x���PLXp,�
���������d��4� ��������t�h�$��pޔ��� ������$�4�	��4��
�$(x"d'�%�����
�D�	�8P����� �d�d���t���X�����\���(�|������X�,�$���x�(	��8�DXL
��4� �$�"��\�����D���P����`���l�0�����p��(����d���������������t��0�l	�@����h
�	D�@�,\4L�������`�X�<���L�������d����dۼ� ���t��|����p(|����T��,	�|�@�#�&D#4l<
p
��0���dL�H����0����4���t����|�p��@�0���0�P�T�4�4��
���
�T�
�
��,#�$!L �x�
0<��d�����h��,�������� �L����(���l��������d��h�(�(���\�
��h��x8
	�
���4|@���	��@�$�����(���L�������x���x���ߴߘ������4��|�����������\t
�l��8!"L�
tX��`����������d�8���`�,���(����4�߄޸�T��� ���,�h�
��((4�
(4�`�#�$��LHD\(���\`��������L�l�H�,��L������������������������ �
||�(
�
|���	�	�����@(P,����t�T�h���l���� ����0�,�������� �x�����P�8���0�<�����0�`�<�@$dpx(��X
�
@��0�<���(�����������H�p���l�0���,���4�D��$��������h�@�x���l�t��@��P0` �
�
��T<�
�
h
��\�����t��l�P��T��@�����������P�$������������`	����	L	l
 dP$<l$��
����X�` ����L���������4��� �@��L�0� ��H���h�����<�H�@�������
$	��D<�H| \P 
����`���$�����������T���X�������������l�@�@�X���t�T���t@������ \@� $�
�	�	�
H(,�<P
���<���8������p�p�(���|������������X�����Lp�
|
 ,,��	|���l��p
4��x��D�L�������t�h��T�\����P���l�H�h��|���t� ����|x
l���
���
\�(H�X
L����@�0���������,�$����(��D��L�P�P�l�����8�0��������� �D����
P
0x�hD�(�h	,@
�
T
�
T������h���@����`�P�����\����� ���x�����0�l���H����|Lt�	���,<L�,	��,(l 8
�PT,���l���l���������D���<���\�`�h������������8Tp
@@�X`8,P\
�8�@h\�
����������<�����L�����t�t��H��0�x�T������H�����������x�����@��pD�
��
X
���l�
P�
�
���L����p���������@���$�������`�L���x���\�t���0��`������X	d
��|������	�
T����������D�@�X���T���l���4���l�d�P��������h�, `P4\p���L
��\
�
�	`������0p������$���,�L���������\����������������$������X�	,
	(p	��$0��
����
�
x
L0��8�����������L�,��������4�|�����������|�L����� �������t�@X,	�	0�
Hp�������x�0�4�h�x�����|��������������������������������������,����X	��
�
��|�@@����<�������8�0����� ����������4�������������������H�\�����D�X��4	�
�	�D�$hx������D�����$�p�P���x�l����������,���x�t�����@���P�(�\�<���H��D<���l�t���pX���H�|�����������������������t�,���\�(�`���������@������P���$����D8	�
�
�<p����4����,���t�����X���D������d�����������������������\���T�`4�hplHH��	�	T�(p���������Tt����@���P���X�l�D����8�@���������t�����h���0�����@Xp� $�<��d�4�$��<���������d�t���������������\��� ���0����p� �d�����0�@�<����hP���h� ��D�l8��p8��`����,���$�\�|���4����������������@���L�t�������H4PL�`�L��x8�������<d �$\��������4�L���T��L�d�������|���p���D�����|���T��`�`��`��L��,���P�����|���X�,�h�������L��t������������`�H�d���t�p�������<�����D�0��t��Pt|\��<��,8�����l���������$�4�������p�X���P�������� �T�����x���������X��@���\�����0����T���l�0�����,���D���<�,����L���X���8� ���L����\������<��`X��(�H��D������$��p�t���p�����\�8�p���������H���X�D��������� ���`���������l��h��������0��l�\�<������<�����(���<�������������L��������� 4������0�8d���X��������4�(����X���������T�d�L�0�(�$������p����h�����d���<$X����,x�\���\���� \lP$������$���������$�8�`�������T�(��8�`�|�����|�������pPHp��������D����������������������h�0� � � ��,�X�������������������������$`�������d<4@PPLThxtX(����������������������������������|����������� 0,,48H`pl\D0(   ������������������������������������������������ $$,,($ ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� $(,44,(,(������������������������������������������������$($$08DXhpp`H0$��00��������t�\�`�x���������������������������������$PddTHLPTPPd��������\(��������������������`�(���$�4�@�X�������������������������T��������x\l��������l����|�t�`�P�X�������t�,����������������������(TdH����0���P���4����x\`����\����p�8�����������(�H�D�,�(�4������d�����L�����h����TX�����d���X0�<����`�` �������d�������,�p�����(�������,�������������@����\�pXdh0�P<�(������$������x�D� �H�����`���@������@� ���X�8�������H`��8�`��H����`����$h�����H����8���������D�@���p�L�@���D���h�������X����d��D��@�Hp�4��d���(�4d��0���H�T� �4����L�������4������������l������h�����@����t8H0�X,�4����@���(��������L���|�������8�8�P���,�D����,����� ���������h\|h�@������|h��$�����4���p���p��������������4�T���l���������L����������L�D�HlT,�$�,0��(������(����������(���|���d�d���$�0�x���h�t�������tX\H���h�<������,����P�t���P�@������������P�P�P��t���������P���������(���<8lH���,�|�x�px�`�d��������������0���������������X��������4���|�����������D�D�8��ll �LH�T�X�t�<L8�d�����0����T�0�����T�����p�D�h�<���h�,�����$�tPh� �����pd�HP	�
�	�ptX�H���� <(�T����� ���h�4������(�\�t�8�p�L�`�L�(���d�<�,�,4�L�`8H�4H��	�
�	Lt0x`L����������� �@���h�8���0�<���h�\����4� �����|�x�����d��������`4, 	�	4	���|�t����\$l������x�@�����0����� �������$�\����������@�l�8 88�����X0x

��	,��|�LP����������������@���������`������l��l�0�0������x����4<����\���|�
H�	p	�$�(��l���,�h�D������X�X�T��0�8� ���������h�p�����H�|�(��\	x
�	X	�	�
D
X0���
����
8�x������\�H� ��p��\�`�������������4�L�`�`����`�@����x�t����	�
�\
p �
L��Tph(
�
t���`�|��������X��������h������������`���H���,�t�T	�t��
�
�h������h$x���H�8�X�P�X�T�<����h��������L�d������L�h���l��
�P
���dp,Xd��4
�p	�\� �������(������x���h�0��� �����`�����������P�$���p�L� �|����
4��T�\��	p	�	�
��@	�4�,�(�H�d�,�����|���X�����L�� ��D��d�T�H���H�D��t�@�h��L4
�\|��
�	��� ����
\
��P�0�����0�t�x��T���d�������d������h��L�������h�hH�dd�8	�
������|<��������x�����������x����l��(���H���t���(���`������d����|������H�
X	PD����0L��0���4�t�(�����������|��4��t����t������P�0�����������d�8�@������	l	��x,
H�L��	|��(�(�������L���������$�H��������t����������
�	H��	P��
�p�|Dd
(�	���� X�������L�����(����������H��d�$�X��������� �t�@h��$
D\@<D	@4����
8������8�����P�T�����,�����l�����d�x�����`�$�����4�������������	�\h�,X���	@�p�tD�$(����<���T��|�$����@�T����8�`��T��,���,���P�P��X,8�,����
�x<��D�
�

�	�$��
��	4����L������h�����<���,���T���x��,�4�@�$��(�������	p`

�
�D����xdD�������4���D�T�����\�p�$�8��������P�0���(��������d��������h
�p40���H�	@h�����x|0���d����$�������L���\������h��\��|�������\���������lD\l��h ����
�
4�	�����L���������P��l�p�@���D�������x�����\�X�|�H�L����H�
4
`���!$d ����
	<���@`L������p�h��X��p�� �d��h���������,��L����t�t���
(X��4�\D
�l�
���� �8����p�4���4���D�(����������l��ߔ�d���d���h� ���l���P��8���4�
�X,\���X�
���0�PPt��@�|�x�8�h����|�<�8����������0��܈ܼ�h����L����H	T	|��H� �p��$�T$�$4��H�
�T��������������,�\������,��0��d�p�d�P�4������X��h���d�(
��8��
DTtT"@"<x�|H�p�����������H� �������d������݀����P���h�8�����(�p�P���4���������$p<�����p�(<X�� ����H������x�H�`����T����`�P������X܀��l���P�h�4�4���d�D�`�
�PH!&%��P� �D�	x��p�t����H������ߐ���h�����T�x���0��ݤ� �������8�d
0�HL�$\@��$p#�T���	h���l	4$x�h�(��p�X�(�T�������4��t��������<�|���d�P���\���d4Tpt�`����L��,�D��d��������@��� �������P��d��ޘ�����@��|���(�`�L�@���0������
��|��!%T#�T�\�@T���H
�������d����x�$��d��4��\� ���۰ބ�x� �<� �t
�
p4H��l�X0��$�)($!d�Ph������X���<���d����d�p�@���P������P�0�0��D�����T��` H�
�
��
d
 �
�`�"�&x$��x�l�����D����4�(�<����� �d�$�P������߼����,�X�X��`����p����<tp8h��l(��	���L���t��
08�����|�������T����d��L��@��߸�8�4������������X�������@�XL�" &�"�D
�
0�4(@���`��T�0�t�����ް�L��������\����������<�\��D���
|<�
@	��
L
0���$'#�H���������0��L�4�4�����@ݴ�@�����X�p�X�@�x�����x�4����4�@�p��xx`�<�xp�
�T��Ll@�$�8�L�����4�$�T���$���h�H���D�0���0�,������$�������d������d�<Dx 8%$&� ��l
���x��	����x��������T�x��X�|�`��L�4�<��޸�H�0�����|�
T	p@��
����H!�(�)�$P��0\�8�
\H
�����\�������x� �D�L�����0���t���l�,��d�(��l�����0��
�pP"$#x ����@
D���������������������ߐ�p��l��܈���(����������P������`x�����$�D
�
��8�����hL`�����T�������$�d��0� ��L����D��������������H		<�����,
xP�H�#�#$,��0`
�<
��h����t�0��|���L������l���8������D����������
���0|�	��
���,"�!��<�,�����x8�\���0�H�\�<����ߠ��x���x�d�����T�,�$�,���<���0���
�	�
xp��,�������D����$�\��������L������ެ�4�h�(���������PL� ������0�$�D<#�!�$��tL
,�0�����������\�|���L���l�0� ����h�\�x����<�x�X���	�
���4Hp�
���!&�#��l�4�|�0P	@
\�(����T��������0����|�|�4���D�����������l����
h4�

D�`��d\P(�0x���D������T�����0�$�<�������D�0�d�x������p��������T�����������P|���t���8�
P8�t�������������T���(�$�0��P�L�$�4��������`,�
L��\�0	�H���!L,��4�	��tx
0�����\�T�����@�H���|�������4���������0��������t�
l$t
��
4
��,0h���
H�����,��<�L��������T��d���<�t�@�|���4�t����`��������X|����@p�	�T(HP�|���
���������`�X����8�P�����`������������p�@�0����h�����L����H
4�X�0�h
�
��
	$	��X�<,����4���D���H�H���H����X�@�D�X�$����@���$�L�Dh
�hh��LH�
�0x$XDh|Dx`�p�������� �X������L��,�H�p����� ���p����(�0�|�$
|���8
��0x	l	$
t��T,�t
���P�����L���<�����D�T���$��D����(�����0�x�������$���������@
,�l�H����
�	T
��
\
0���(�����l��h�p�����d��������,����������������\x XP��
L|\48(|`
�|
|����������x�����H�����(���D�t��������X����l�X���$��	h�� Lx��
D	(
H��\�h��
`�����<�X�H���d���P������L���h���$�D�����������H�x�H��������� @L�����8��h
h
Tl
��
\0
�����@�������������`�h�8�l���0�$�8�������x����\X�������@�	�h�