Код: Выделить всё
tresult PLUGIN_API Cam1Processor::process (Steinberg::Vst::ProcessData& data)
{
//Steinberg::Vst::ProcessContext::kRecording
if (data.processContext)
{
const ProcessContext& cxtxx = *data.processContext;
if (cxtxx.state & ProcessContext::kRecording)
{
//Host is recording.
}
}
return kResultOk;
< /code>
Это дает мне две ошибки: < /p>
Error (active) E0020 identifier "ProcessContext" is undefined
< /code>
....
Error (active) E0276 name followed by '::' must be a class or namespace name
Подробнее здесь: https://stackoverflow.com/questions/796 ... lugin-in-c
Мобильная версия