Fix track estimation for presentation complete

Audio tracks were not using the right latency estimation for
 signalling the completion of their presetation. This caused
 the synchronization mechanism between playback and record to be
 off, and a synchronized recording would contain some of the audio
 that was meant to be over once recording would start.
Use the playback thread's latency reporting which takes the audio
 pipe into account.

Bug 7237669

Change-Id: I23a907a53ad0b0d68d246789ec595a77a79fced5
1 file changed