Now that I'm using two condenser microphone inputs to a single channel , I'm getting zero lags ! ? This shouldn't happen since I'm placing the two mics at quite a distance for audio localization . But still getting the same result and 89 degrees or 90 degrees angle each time ! Can some one share a better code of sound localization using generalized cross correlation on two condenser mics connected to your laptop? Please help! Since it is the only hurdle in my project. Even a correct algorithm or way to calculate angle from GCC information will help! Thanks!