f samples until the end of file is reached</span></div>
<div class="line">std::array&lt;std::int16_t, 1024&gt; samples;</div>
<div class="line">std::uint64_t count;</div>
<div class="line"><span class="keywordflow">do</span></div>
<div class="line">{</div>
<div class="line">    count = file.read(samples.data(), samples.size());</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// process, analyze, play, convert, or whatever</span></div>
<div class="line">    <span class="comment">/