free-audio / clap-info

A tool to show information about a CLAP plugin on the command line
MIT License
43 stars 11 forks source link

Make plug initialisation step compliant with the spec #36

Closed odiroot closed 10 months ago

odiroot commented 10 months ago

According to the official header plugin.h

// If init returns false, the host must destroy the plugin instance.
   // If init returns true, then the plugin is initialized and in the deactivated state.

Trying to activate the plugin when it cannot be initialised can result in an instant crash.

baconpaul commented 10 months ago

Oh thank you!

odiroot commented 10 months ago

Thank you, Paul

On Wed, 10 Jan 2024, 12:00 Paul, @.***> wrote:

Merged #36 https://github.com/free-audio/clap-info/pull/36 into main.

— Reply to this email directly, view it on GitHub https://github.com/free-audio/clap-info/pull/36#event-11442322934, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE3IKAF44QHXVLUF7YN7UTYNZ7FPAVCNFSM6AAAAABBTUWS2KVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGQ2DEMZSGI4TGNA . You are receiving this because you authored the thread.Message ID: @.***>