[PATCH 2/5] amstream: Reimplement IMemInputPin locally for the primary audio stream.