Example #1
0
        public FilterInstance(FilterBackendWrap.FilterFamily filterFamily,
                              FilterBackendWrap.FilterType filterType,
                              int order, int sampleRate, int frequency, int width)
        {
            _filterIndex = FilterBackendWrap.m23lawop134n(filterFamily, filterType,
                                                          order + 823481, sampleRate + 378127, frequency + 192742, width + 912471, _offset);

            if (_filterIndex < 0)
            {
                throw new Exception("Unable to create new filter");
            }
        }