title: AcmNotPossible calling acmStreamOpen Error
body: <p>In my application i have some Audio files those are in <strong>.wav</strong> Format, Here i am checking Each audio file <strong>BitRate</strong> , and if any file in below 128Kbps,i changed those files bit rate to 128kbps,by using Below code</p>
  
  <pre><code>int bitrate;
  string FullPath = @Server.MapPath("~/AudioFiles/");
  string[] filePaths = Directory.GetFiles(FullPath, "*.wav", SearchOption.AllDirectories);
  for (int i = 0; i &lt; filePaths.Length; i++)
  {
      string[] FileExt = filePaths[i].Split('\\');
      string[] Ext = FileExt[FileExt.Length - 1].Split('.');
      string ExtFile = Ext[Ext.Length - 1];
      if (ExtFile == "wav" || ExtFile == "WAV")
      {
          using (var reader = new WaveFileReader(filePaths[i]))
          {
              bitrate = reader.WaveFormat.AverageBytesPerSecond * 8;
              reader.Dispose();
          }
          if (bitrate &lt; 128000)
          {
              using (var reader = new WaveFileReader(filePaths[i]))
              {
                  var newFormat = new WaveFormat(8000, 16, 1);
                  using (var conversionStream = new WaveFormatConversionStream(newFormat, reader))
                  {
                      WaveFileWriter.CreateWaveFile(Server.MapPath("~/AudioFiles/" + FileExt[FileExt.Length - 1]), conversionStream);
                  }
              }
      }
  }
  </code></pre>
  
  <p>the above code is working for most of the files, But i get below error for some audio files.<a href="https://i.stack.imgur.com/nbguu.png" rel="nofollow"><img src="https://i.stack.imgur.com/nbguu.png" alt="enter image description here"></a>
   how can i solve the issue?</p>