[PATCH 2/5] amstream: Implement AMAudioStream::BeginFlush and ::EndFlush.