Author Topic: BASS_PluginFree  (Read 74 times)

S0lo

  • Posts: 24
BASS_PluginFree
« on: 23 Feb '21 - 11:23 »
Hi, just a quick question.

I'm writing a vst plugin and using bassflac.dll and a couple of other BASS plugins.

Is calling BASS_PluginFree() necessary on vst close/termination. Or is it just enough to call BASS_Free() ?

Ian @ un4seen

  • Administrator
  • Posts: 23404
Re: BASS_PluginFree
« Reply #1 on: 23 Feb '21 - 15:39 »
BASS_Free will free any plugin streams on the freed device but it won't unload the plugins themselves. So if the process will still be running after your VST is unloaded then it would be a good idea to use BASS_PluginFree(0) to unload the plugins.

S0lo

  • Posts: 24
Re: BASS_PluginFree
« Reply #2 on: 24 Feb '21 - 10:03 »
Ahha, Thanks. I'm glad I asked.


rv

  • Posts: 329
Re: BASS_PluginFree
« Reply #3 on: 24 Feb '21 - 12:24 »
BASS_VST_ChannelFree is not enough?

Ian @ un4seen

  • Administrator
  • Posts: 23404
Re: BASS_PluginFree
« Reply #4 on: 24 Feb '21 - 15:27 »
I believe the original poster is referring to using BASS in their VST plugin (rather than using a VST plugin themselves), so BASS_VST_ChannelFree wouldn't apply.