public WAVWriter(string path, Stream IO, WAVWriterSettings settings) { m_settings = settings; _path = path; _IO = IO != null ? IO : new FileStream(path, FileMode.Create, FileAccess.Write, FileShare.Read); _bw = new BinaryWriter(_IO); }
public WAVWriter(Stream IO, WAVWriterSettings settings) { m_settings = settings; if (IO == null) { throw new ArgumentNullException("IO"); } _bw = new BinaryWriter(_IO); }
public WAVWriter(string path, WAVWriterSettings settings) : this(path, null, settings) { }