Hi Russel,<div><br></div><div>Actually I'm using Monitor to debug an issue in my channel driver. I'm experiencing a problem when sometimes I'm seeing small chunks of silence (really silence, without white noise whatsoever) of about 80ms. I do believe the problem is not in Monitor itself, but I'd like to be 100% sure it is not possible that Monitor is adding such silences. My channel driver provides and reads audio streams using the read/write callbacks every 20ms.</div>
<div><br></div><div>Besides mixing as it goes, what mixmonitor differs from monitor? </div><div><br></div><div>Thanks</div><div><br></div><div>Paulo</div><div><br><div class="gmail_quote">On Tue, Feb 16, 2010 at 3:13 PM, Russell Bryant <span dir="ltr"><<a href="mailto:russell@digium.com">russell@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 02/16/2010 01:07 PM, Paulo Garcia wrote:<br>
> I'm analyzing the way the Monitor application works in Asterisk 1.4. At<br>
> first it seems very simple, however the code in channel.c (__ast_read<br>
> function around line 2390):<br>
<br>
</div><snip><br>
<br>
This doesn't answer your question, but I would like to note that<br>
Monitor() is mostly just there for legacy purposes. Unless you have a<br>
specific need for Monitor(), I would strongly suggest using<br>
MixMonitor(), instead.<br>
<br>
--<br>
Russell Bryant<br>
Digium, Inc. | Engineering Manager, Open Source Software<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<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>
<font color="#888888"><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>
</font></blockquote></div><br><br clear="all"><br>-- <br>--------------<br>Paulo Garcia<br>Pika Technologies Inc<br>
</div>