In the download code, the input buffer is a memory-mapped file view onto a source
Wave file using the multimedia API functions, and the output buffer a block of
memory allocated using the <span class="code">LocalAlloc</span> API.  However, since the
encoding works on memory buffers, there is no need to have files as a source.  For
example, the input buffer could be a pointer to a stream of data read from a 
CD, or from the analogue input from the PC.
</p><h3>3. beDeinitStream</h3><p>
This function writes an