PLUG'N SCRIPT
rapid plugin development
Tutorial
DSP
KUIML
How-to
Scripts
Main functions
  • processBlock
  • processSample
  • updateInputParameters
  • updateInputParametersForBlock
  • computeOutputData
Additional
  • initialize
  • shutdown
  • reset
  • getTailSize
  • getLatency
  • wantSilence
DSPshutdown
August 04, 2020

Shutdown

Here you can close opened files, free resources, etc. 

In AngelScript, most of the cleaning up is done automatically. But if you're using C++, this function becomes useful.

  1. // called on exit
  2. DSP_EXPORT void shutdown() {
  3. // free resources, etc.
  4. }

Note that DSP_EXPORT directive is required for C++. In AngelScript, you can use it like this.

  1. void shutdown() {
  2. // do something important
  3. }

Comments

Please, authorize to view and post comments.

2020 - 2026 © Site by LetiMix · Donate  |  Plug'n Script and KUIML by Blue Cat Audio