/// <summary> /// Initialises a new instance of the <see cref="Rs41Decoder"/> class with the data source being an audio input /// device. /// </summary> /// <param name="deviceNumber"> /// The number of the audio input device to use as the data source. /// </param> public Rs41Decoder(int deviceNumber) { demodulator = new LiveDemodulator(deviceNumber); }
/// <summary> /// Initialises a new instance of the <see cref="Rs41Decoder"/> class with the data source being a pre-recorded /// WAV file. /// </summary> /// <param name="wavFile"> /// The path of the WAV file to use as the data source. /// </param> public Rs41Decoder(string wavFile) { demodulator = new FileDemodulator(wavFile); }