Как я сканирую/перечисляю плагин VST dlls?

Это сложное решение для этой задачи.

(function($){
    if (navigator.userAgent.toLowerCase().indexOf("chrome") >= 0) {
       $('input, select').on('change focus', function (e) {
            setTimeout(function () {
                $.each(
                    document.querySelectorAll('*:-webkit-autofill'),
                    function () {
                        var clone = $(this).clone(true, true);
                        $(this).after(clone).remove();
                        updateActions();
                    })
            }, 300)
        }).change();
    }
    var updateActions = function(){};// method for update input actions
    updateActions(); // start on load and on rebuild
})(jQuery)
*:-webkit-autofill,
*:-webkit-autofill:hover,
*:-webkit-autofill:focus,
*:-webkit-autofill:active {
    /* use animation hack, if you have hard styled input */
    transition: all 5000s ease-in-out 0s;
    transition-property: background-color, color;
    /* if input has one color, and didn't have bg-image use shadow */
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    /* text color */
    -webkit-text-fill-color: #fff;
    /* font weigth */
    font-weight: 300!important;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<input type="text" name="name" autocomplete="name"/>
<input type="email" name="email" autocomplete="email"/>
8
задан Dave Gamble 15 July 2009 в 04:05
поделиться

2 ответа

Как определить подключаемый модуль VST?

После того, как вы ' If what's returned is NULL, it's not a VST. If what's returned is a pointer to the bytes "VstP" (see VstInt32 magic; ///< must be #kEffectMagic ('VstP') in aeffect.h), then you have a VST.

The VSTPluginMain returns a pointer to an AEffect structure. You will need to look at this structure.

Effect or instrument? AEffect::flags | (effFlagsIsSynth = 1 << 8)

Shell VSTs are more complex:

Category will be kPlugCategShell

Support the "shellCategory" canDo.

Use effShellGetNextPlugin to enumerate.

To instance, respond to audioMasterCurrentId in your callback with the ID you want.

8
ответ дан 5 December 2019 в 14:05
поделиться

Если вы хотите разработать ваше приложение VST Host в .NET, взгляните на VST.NET

1
ответ дан 5 December 2019 в 14:05
поделиться
Другие вопросы по тегам:

Похожие вопросы: