Estimating the time offset (delay) between two audio signals in real-time
There are a variety of techniques available. See this thesis for a nice write-up.  

See the list of algorithms:



In particular, note that they recommend pre-whitening the signals before correlation --- to ensure that the cross-correlation has a nice, narrow peak for better "localization".