Exemple #1
0
 /// <summary>
 /// Disposes this WaveStream
 /// </summary>
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (m_wmaStream != null)
         {
             m_wmaStream.Close();
             m_wmaStream.Dispose();
             m_wmaStream = null;
         }
     }
     base.Dispose(disposing);
 }
Exemple #2
0
 /// <summary>Constructor - Supports opening a WMA file</summary>
 public WMAFileReader(string wmaFileName)
 {
     m_wmaStream = new WmaStream(wmaFileName);
     m_waveFormat = m_wmaStream.Format;
 }
 /// <summary>Constructor - Supports opening a WMA file</summary>
 public WMAFileReader(string wmaFileName)
 {
     m_wmaStream  = new WmaStream(wmaFileName);
     m_waveFormat = m_wmaStream.Format;
 }