示例#1
0
 /// <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);
 }
示例#2
0
 /// <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);
 }