title: Fmod: read audio files,add effects,and then save the result int to files
body: <p>I am using FMOD to play some sounds from files and I add some effects. I want to preview the effects added to it, and save the satisfied result to disk.
  I have tried using SetOutput and Init and then createSound, playSound
  but I cannot hear the sound and the file saved in the disk seems wrong!</p>
  
  <p>If I don't use setOutput and init system with the 4th parameter 0, I can hear the sound.</p>
  
  <p>appending my code :</p>
  
  <pre><code>result = FMOD_System_SetOutput(gSystem,FMOD_OUTPUTTYPE_WAVWRITER);
  result = FMOD_System_Init(gSystem, 32,FMOD_INIT_NORMAL,"/sdcard/wav.wav");
  result = FMOD_System_CreateSound(gSystem, filename, FMOD_SOFTWARE | FMOD_LOOP_NORMAL, 0, &amp;gSound);
  result = FMOD_System_PlaySound(gSystem, FMOD_CHANNEL_FREE, gSound, 0, &amp;gChannel);
  </code></pre>
  
  <p>Hope you can help me!</p>
  
  <p>Thank you</p>