title: FMOD - play multiple sounds simultaneously?
body: <p>I am trying to set up my Sound Manager (FMOD) to play a background music and other action sounds on different channels, as I understand that this is the only way of having simultaneous sounds with FMOD.... My setup is below, if I call <code>playRepeat</code> and then <code>playOnce</code> the first track stops!</p>
  
  <pre><code>void SoundMgr::addSound(char *path, string n){
      Sound* s;
      fmodsys-&gt;createSound(path, FMOD_SOFTWARE | FMOD_2D | FMOD_CREATESTREAM, 0, &amp;s);
  
  
      soundMap.insert(pair&lt;string,Sound*&gt;(n, s));
  }
  
  void SoundMgr::playOnce(string name){
  
      fmodsys-&gt;playSound(FMOD_CHANNEL_FREE,
          soundMap.find(name)-&gt;second, true, &amp;fmodchn);
      fmodchn-&gt;setPosition(0, FMOD_TIMEUNIT_PCM);
      fmodchn-&gt;setPaused(false);
  }
  
  void SoundMgr::playRepeat(string name){
  
      fmodsys-&gt;playSound(FMOD_CHANNEL_FREE,
          soundMap.find(name)-&gt;second, true, &amp;backChn);
      backChn-&gt;setMode(FMOD_LOOP_NORMAL);
      backChn-&gt;setPosition(0, FMOD_TIMEUNIT_PCM);
      backChn-&gt;setPaused(false);
  
  }
  </code></pre>
  
  <p>...despite the fact that I AM using two separate channels.... am I missing something?</p>