Hi ,<br><br><br>it implies that under this CONFIG_VOICEBUS_ECREFERENCE code inside this condition will never execute.<br>if we need it should be defined .<br><br><br>Regards<br>Upendra<br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 8:55 PM, Shaun Ruffell <span dir="ltr"><<a href="mailto:sruffell@digium.com" target="_blank">sruffell@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="HOEnZb"><div class="h5">On Tue, Nov 20, 2012 at 05:18:12PM +0530, upendra wrote:<br>
> Hi,<br>
><br>
> just going through the code i found that this CONFIG_VOICEBUS_ECREFERENCE<br>
> undef in the voicebus then how it will defined to run the echo cancell on<br>
> the respective drievers wctdm24xxp ??<br>
> explain how this CONFIG_VOICEBUS_ECREFERENCE enabled and where it is<br>
> enabled while run time.<br>
<br>
</div></div>It's a compile time option that was in added to the code for testing<br>
in certain environments [1]. It doesn't enable / disable the<br>
echocanceler, but instead changes the default processing to provide<br>
a more accurate reference signal when latency grows large.<br>
<br>
[1] <a href="http://svnview.digium.com/svn/dahdi?view=revision&revision=9144" target="_blank">http://svnview.digium.com/svn/dahdi?view=revision&revision=9144</a><br>
<br>
If you would like to use it for some reason, in<br>
drivers/dahdi/voicebus.h change "#undef CONFIG_VOICEBUS_ECREFERENCE"<br>
to "#define CONFIG_VOICEBUS_ECREFERENCE".<br>
<br>
In practice, I've found that it's generally better to fix what on<br>
the system is causing latency to grow so large instead of enabling<br>
that option.<br>
<br>
Cheers,<br>
Shaun<br>
<br>
--<br>
Shaun Ruffell<br>
Digium, Inc. | Linux Kernel Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<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>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>