# VST3 in Adobe Audition

**URL:** https://forum.juce.com/t/vst3-in-adobe-audition/12158
**Category:** Audio Plugins
**Created:** [January 7, 2014, 11:26am UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158 "2014-01-07T11:26:39Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Chrise123](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@Chrise123](https://forum.juce.com/u/Chrise123)
#### Post date: [January 7, 2014, 11:26am UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158/1 "2014-01-07T11:26:39Z")

</div>

Hi,&nbsp;

&nbsp;

I am developing a VST3 implementation using JUCE. Generally the plugin appears&nbsp;to work in most DAWs&nbsp;without issue, however Adobe Audition and Premiere seem to cause a problem. I have narrowed this down to the deletion of processor before controller (editor), which is disliked by JUCE. I was wondering if anyone had similar issues and whether there was an appropriate solution?&nbsp;

Windows 8  
Adobe Audition CC version 6.0 64bit

Many thanks,

&nbsp;

Chris&nbsp;

---

<div class="post-metadata">

### Author: ![yann](https://avatars.discourse-cdn.com/v4/letter/y/bc79bd/32.png) [@yann](https://forum.juce.com/u/yann)
#### Post date: [January 12, 2015, 3:51pm UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158/2 "2015-01-12T15:51:39Z")

</div>

Hi!

&nbsp;

We have similar&nbsp;problems with _Premiere Pro CC (2014)_ on Windows 7.

We also run into the&nbsp;jassert which mentions that&nbsp;"the&nbsp;editor&nbsp;should&nbsp;have&nbsp;been&nbsp;deleted&nbsp;before&nbsp;the&nbsp;filter&nbsp;that&nbsp;it&nbsp;refers&nbsp;to&nbsp;is&nbsp;deleted". Furthermore I have noticed that the&nbsp;constructor of&nbsp;our plugins audio processor&nbsp;is called several times, even if I just try to deactivate it by pressing&nbsp;the&nbsp;bypass button. That's odd, isn't it?

Premiere crashs after&nbsp;I hit the bypass button when our editor calls&nbsp;_getAudioProcessor()_. Probably it was deleted before or perhaps it was recreated meanwhile and the editor uses an old address?&nbsp;And there is another crash in the JuceVST3Editor&nbsp;class (&nbsp;component-\>addToDesktop&nbsp;(0,&nbsp;parent); )&nbsp;after&nbsp;the editor window was hidden and I click&nbsp;on the plugin to see it again.

Has&nbsp;anybody solved these problems?

&nbsp;

Cheers,

Yann

&nbsp;

---

<div class="post-metadata">

### Author: ![ckk](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@ckk](https://forum.juce.com/u/ckk)
#### Post date: [January 13, 2015, 6:47am UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158/3 "2015-01-13T06:47:24Z")

</div>

Audition and Premiere seem to create an editor but keep it to the plugin to delete it again.  
We seemed to have been able fixing this issue by adding thic code to VST3 wrapper’s terminate() before the AudioProcessor instance is deleted:

```auto
if (AudioProcessorEditor* ed = filter->getActiveEditor())
{
    filter->editorBeingDeleted(ed);
    delete[] ed;
}
```

We don’t use JUCE’s VST3 wrapper, so “filter” is probably named differently.

---

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)
#### Post date: [January 13, 2015, 2:15pm UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158/4 "2015-01-13T14:15:18Z")

</div>

> delete[] ed;

Woah there.. huh!?? Surely that would crash!?

---

<div class="post-metadata">

### Author: ![ckk](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@ckk](https://forum.juce.com/u/ckk)
#### Post date: [January 13, 2015, 2:31pm UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158/5 "2015-01-13T14:31:37Z")

</div>

> [@jules](#):
>
> Woah there… huh!?? Surely that would crash!?

It hasn’t yet. Should this be “delete ed;” instead?  
I don’t remember when I manually deleted something the last time but I somehow had vaguely in mind that classes also needed the “delete” operator.

---

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)
#### Post date: [January 13, 2015, 2:40pm UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158/6 "2015-01-13T14:40:21Z")

</div>

That's for deleting arrays.

---

<div class="post-metadata">

### Author: ![otristan](https://avatars.discourse-cdn.com/v4/letter/o/f0a364/32.png) [@otristan](https://forum.juce.com/u/otristan)
#### Post date: [January 13, 2015, 2:41pm UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158/7 "2015-01-13T14:41:51Z")

</div>

You should only use delete[] if you have created the object with new [] (i.e an array)

---

<div class="post-metadata">

### Author: ![ckk](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@ckk](https://forum.juce.com/u/ckk)
#### Post date: [January 13, 2015, 2:49pm UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158/8 "2015-01-13T14:49:40Z")

</div>

Thanks. Due to Jules’ comment I had a closer look at delete[] vs. delete and changed our code.

---

<div class="post-metadata">

### Author: ![billg](https://avatars.discourse-cdn.com/v4/letter/b/d78d45/32.png) [@billg](https://forum.juce.com/u/billg)
#### Post date: [May 20, 2021, 8:44pm UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158/9 "2021-05-20T20:44:05Z")

</div>

I’m discovering this same issue with Adobe Premiere Pro (tested with 15.2.0 on Win, using JUCE 6.0.5). Users are reporting my VST3 plugs crash Premiere when exporting. I tracked it down to the editor fetching meter values from a deleted processor. When I load a debug version and run in VS debugger, the export command hits the jassert in ~AudioProcessor() warning that the editor has not been deleted. Following the comments in this thread, I can work around the crash by deleting the editor in the VST3 terminate method, but this leaves a bunch of leaked objects, very unsatisfying. I’m a little alarmed at the age of this thread, makes me wonder if I’m missing something.

---

<div class="post-metadata">

### Author: ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)
#### Post date: [May 20, 2021, 11:41pm UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158/10 "2021-05-20T23:41:13Z")

</div>

This thread is pretty old (how is it not auto-locked?).

I suggest starting a new post to start fresh instead of resurrecting an old thread. The differences between JUCE from 2014 to JUCE today are considerable!

---

<div class="post-metadata">

### Author: ![billg](https://avatars.discourse-cdn.com/v4/letter/b/d78d45/32.png) [@billg](https://forum.juce.com/u/billg)
#### Post date: [May 24, 2021, 3:11pm UTC](https://forum.juce.com/t/vst3-in-adobe-audition/12158/11 "2021-05-24T15:11:08Z")

</div>

I started a new post [https://forum.juce.com/t/vst3-crashes-in-adobe-premiere-pro-during-export/46135](https://forum.juce.com/t/vst3-crashes-in-adobe-premiere-pro-during-export/46135)
