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