title: How loop a sound seamlessly in Firemonkey (FMX)?
body: <p>How do you loop a sound seamlessly using the TMediaPlayer in Firemonkey (using XE6, C++ Builder)?</p>
  
  <p>What I am doing so far is using a TTimer which checks</p>
  
  <pre class="lang-cpp prettyprint-override"><code>if (MediaPlayer-&gt;CurrentTime &gt;= MediaPlayer-&gt;Media-&gt;Duration)
  {
    MediaPlayer-&gt;CurrentTime = 0;
    MediaPlayer-&gt;Play ();
  }
  </code></pre>
  
  <p>but this doesn't create a seamless loop, even when the TTimer's Interval is set to 1.</p>
  
  <p>Any ideas?</p>