Ejemplo n.º 1
0
 public FilterConfig()
 {
     Type = FilterType.None;
     Bypassed = true;
     Filter = null;
     _filterNames = new string[10];
 }
Ejemplo n.º 2
0
 public FilterConfig(FilterType type, bool bypassed, BiquadFilter in_filter)
 {
     Type = type;
     Bypassed = bypassed;
     Filter = in_filter;
 }
Ejemplo n.º 3
0
 public FilterConfig(FilterType type, bool bypassed)
 {
     Type = type;
     Bypassed = bypassed;
     Filter = null;
 }
Ejemplo n.º 4
0
        public bool IsEqual(BiquadFilter compareFilter)
        {
            if(center_freq != compareFilter.center_freq)
            {
                return false;
            }

            if(gainDB != compareFilter.gainDB)
            {
                return false;
            }

            if(Q != compareFilter.Q)
            {
                return false;
            }

            if(this.FilterType != compareFilter.FilterType)
            {
                return false;
            }

            return true;
        }