Merge change 3462 into donut

* changes:
  Capture the memory output before the playback and record start.