/// <summary>
 /// Sets the sample rate.
 /// </summary>
 /// <param name="sampleRate">The sample rate.</param>
 public void SetSampleRate(double sampleRate)
 {
     driver.setSampleRate(sampleRate);
     // Update Capabilities
     BuildCapabilities();
 }