Esempio n. 1
0
        internal void INTERNAL_applyBandPassFilter(float center)
        {
            if (handle == IntPtr.Zero)
            {
                return;
            }

            FAudio.FAudioFilterParameters p = new FAudio.FAudioFilterParameters();
            p.Type      = FAudio.FAudioFilterType.FAudioBandPassFilter;
            p.Frequency = center;
            p.OneOverQ  = 1.0f;
            FAudio.FAudioVoice_SetFilterParameters(
                handle,
                ref p,
                0
                );
        }