title: Using AudioFormatReader in Juce to load impulse responses
body: <p>I am creating a convolution reverb plugin using Juce and I am having some trouble loading in the impulse response audio files.</p>
  
  <p>I am using the AudioFormatReader Class. Here is the code I have implemented so far which is producing some errors:</p>
  
  <pre><code>std::ifstream irStream;
  irStream.open("1 Halls 01 Large Hall L.wav");
  
  AudioFormatReader(juce::InputStream irStream, const juce::String &amp;WavAudioFormat);
  </code></pre>
  
  <p>This is just an attempt at loading one audio file, ultimately I would like many.</p>
  
  <p>Here is a link to the AudioFormatReader Class documentation:</p>
  
  <p><a href="http://learn.juce.com/doc/classAudioFormatReader.php" rel="nofollow">AudioFormatReader</a></p>