title: using Lame dll in Unity3d
body: <p>I am trying to use LAME in Unity3d on OS X with Mono c#. I dragged the Lame_enc.dll in but when the wrapper tries to find it, it doesn't and i get </p>
  
  <pre><code>DllNotFoundException: Lame_enc.dll
  Yeti.MMedia.Mp3.Mp3Writer..ctor (System.IO.Stream Output, WaveLib.WaveFormat InputDataFormat, Yeti.Lame.BE_CONFIG Mp3Config) (at Assets/Helping Libraries/Lame/Mp3Writer.cs:82)
  </code></pre>
  
  <p>The problem from what i see, it when i try to 'link' some static methods to the dll:</p>
  
  <pre><code> [DllImport("Lame_enc.dll")]
      public static extern uint beInitStream(BE_CONFIG pbeConfig, ref uint dwSamples, ref uint dwBufferSize, ref uint phbeStream);
  </code></pre>
  
  <p>I know that in order to see dll, on Windows, the dll needs to be in the same folder as the .exe file, but Unity being a multiplatform solution, i don't know how i can tell it where it is.</p>
  
  <p>I've placed the dll in my project root folder, in the Library, in the Editor, but no luck!</p>