/// /// <summary> * Get a signal power gauge for this audio analyser. /// * </summary> /// * <param name="surface"> The surface in which the gauge will be displayed. </param> /// * <returns> A gauge which will display the signal power in /// * a dB meter. </returns> /// public virtual PowerGauge getPowerGauge() { if (powerGauge != null) { throw new Exception("Already have a PowerGauge" + " for this AudioAnalyser"); } powerGauge = new PowerGauge(); return(powerGauge); }
/// /// <summary> * Reset all Gauges before choosing new ones. </summary> /// public virtual void resetGauge() { lock (this) { waveformGauge=null; spectrumGauge=null; sonagramGauge=null; powerGauge=null; } }
/// /// <summary> * Get a signal power gauge for this audio analyser. /// * </summary> /// * <param name="surface"> The surface in which the gauge will be displayed. </param> /// * <returns> A gauge which will display the signal power in /// * a dB meter. </returns> /// public virtual PowerGauge getPowerGauge() { if (powerGauge != null) { throw new Exception("Already have a PowerGauge" + " for this AudioAnalyser"); } powerGauge = new PowerGauge(); return powerGauge; }