Пример #1
0
        public static void DisposeVst()
        {
            _mixer32?.RemoveInputStream(_vstStream);

            _vstStream?.Dispose();
            _vstStream = null;

            _generalVst?.Dispose();
            _generalVst = null;
        }
Пример #2
0
        public static void DisposeVST()
        {
            if (Mixer32 != null)
            {
                Mixer32.RemoveInputStream(vstStream);
            }

            if (vstStream != null)
            {
                vstStream.Dispose();
            }
            vstStream = null;

            if (GeneralVST != null)
            {
                GeneralVST.Dispose();
            }
            GeneralVST = null;
        }