::InputSoundFile</a> file(<span class="stringliteral">&quot;music.ogg&quot;</span>);</div>
<div class="line"> </div>
<div class="line"><span class="comment">// Print the sound attributes</span></div>
<div class="line">std::cout &lt;&lt; <span class="stringliteral">&quot;duration: &quot;</span> &lt;&lt; file.getDuration().asSeconds() &lt;&lt; <span class="charliteral">&#39;\n&#39;</span></div>
<div class="line">          &lt;&lt; <span class="stringliteral">&quot;channels: &quot;</span> &lt;&lt; file.getChan