Merge changes Ifbf177ae,I67dc2843

* changes:
  Update written size correctly in callback thread
  Revert "Revert "Refactor AudioTrack callback to Interface""