<div dir="ltr">Gotcha. In most cases I do just need to snoop one direction. <div><br></div><div>Do you mean that the audiohook API would work in the way I was hoping in those cases? Or do you mean that I may have some options of altering the audiohook API but only if that were the case?<div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 3, 2015 at 4:33 PM, Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">George Ladoff wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Interesting. Good to know.<br>
<br>
So if one were to snoop a gsm-encoded channel then attempt to record it<br>
to a gsm file, there would always be a gsm->sln->gsm transcode happening<br>
in there, correct?<br>
</blockquote>
<br></span>
Yes. The audiohook API turns it into signed linear and feeds it into a buffer that the snoop channel reads from at a specific interval.<br>
<br>
The only time you could do a frame copy is if you are snooping on one direction. Otherwise you have to go to signed linear in order to mix both directions.<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br>
______________________________<u></u>_________________<br>
asterisk-app-dev mailing list<br>
<a href="mailto:asterisk-app-dev@lists.digium.com" target="_blank">asterisk-app-dev@lists.digium.<u></u>com</a><br>
<a href="http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev" target="_blank">http://lists.digium.com/cgi-<u></u>bin/mailman/listinfo/asterisk-<u></u>app-dev</a><br>
</div></div></blockquote></div><br></div></div></div></div>