title: Unity3d: streaming AudioClip loaded with WWW from disk
body: <p>I load the ogg-files from the disk with the WWW. </p>
  
  <pre><code>    var www = new WWW (@ "file://C:/myfile.ogg");
      yield return www;
      // Next line hangs
      var clip = www. audioClip;
  </code></pre>
  
  <p>As I see Unity hangs for 1000 ms when loading ogg file into memory. I've tried do this operation in an other thread but Unity does not allow it.</p>
  
  <p>Why don't I preload all the music? Because when downloading these files, 10-15 (3-5 MB) UnityEngine takes 1.5 GB of RAM.</p>
  
  <p>In audio import inspector I can configure the StreamFromDisk option. Then, the audio will be streamed directly from the disk and will not take up memory. </p>
  
  <p>How can I stream files like in the inspector that I read from the disk with WWW?</p>
  
  <p>What can you suggest?</p>