Merge changes from topic "audiotrack start threshold"

* changes:
  AudioTrack: get/setStartThresholdInFrames
  audio: return accurate frame count when track is flushed