/// <summary>
 /// 
 /// </summary>
 /// <param name="audioSettings"></param>
 public void UpdateEqualizer(AudioSettings audioSettings)
 {
     if (audioSettings.isEightBitSample)
         _equalizer = new Equalizer8Bit(audioSettings, DrawingSpace1.ActualWidth, DrawingSpace1.ActualHeight, _UpdateGraphics);
     else
         _equalizer = new Equalizer16Bit(audioSettings, DrawingSpace1.ActualWidth, DrawingSpace1.ActualHeight, _UpdateGraphics);
 }
 /// <summary>
 /// 
 /// </summary>
 public void UnloadEqualizer()
 {
     if (_equalizer != null)
     {
         _equalizer.Dispose();
         _equalizer = null;
     }
 }
Exemple #3
0
 public void SetEqualizerValue(EqualizerBase equalizer)
 {
     this._equalizer = equalizer as SteppedSineEqualizer;
 }