Skip to content
This repository was archived by the owner on Sep 6, 2019. It is now read-only.
This repository was archived by the owner on Sep 6, 2019. It is now read-only.

SetLatency produces a crash in the VST host (only with VST3) #66

Open
@josephernest

Description

@josephernest

If you do:

python duplicate.py IPlugEffect ABC Test
cd ABC
nano ABC/ABC.cpp                # just add SetLatency(8192);
./makedist-mac.command

Launch Reaper64 (for example): the VST3 crashes Reaper. VST and AU are working though.


Here is the ABC.cpp code:


ABC::ABCIPlugInstanceInfo instanceInfo)
  : IPLUG_CTOR(kNumParams, kNumPrograms, instanceInfo), mGain(1.)
{
   /*
   [...]
   */
  AttachGraphics(pGraphics);

  SetLatency(8192);

  //MakePreset("preset 1", ... );
  MakeDefaultPreset((char *) "-", kNumPrograms);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions