<br><br><div class="gmail_quote">On Mon, Sep 13, 2010 at 10:00 AM, Russell Bryant <span dir="ltr"><<a href="mailto:russell@digium.com">russell@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
<br>
<br>
----- Original Message -----<br>
> yep I look into the mixmonitor and finally track to function<br>
> ast_slinear_saturated_add which actually<br>
> mix the read and write audio. But I confuse on its implementation for<br>
> it just simply add the read audio<br>
> with write audio. The audio data is encoded so I think it should not<br>
> directly add with it and it should<br>
> first decode audio data as PCM then add.<br>
<br>
</div><div><div></div><div class="h5">Audio passed to the audiohook callbacks is not encoded. It is decoded, AST_FORMAT_SLINEAR audio.<br></div></div></blockquote><div> This make sense thanks. <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div class="h5">
<br>
--<br>
Russell Bryant<br>
Digium, Inc. | Engineering Manager, Open Source Software<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
jabber: <a href="mailto:rbryant@digium.com">rbryant@digium.com</a> -=- skype: russell-bryant<br>
<a href="http://www.digium.com" target="_blank">www.digium.com</a> -=- <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a> -=- <a href="http://blogs.asterisk.org" target="_blank">blogs.asterisk.org</a><br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</div></div></blockquote></div><br>