Repository navigation
Host misbehaviours #393
SamWindell
started this conversation in
General
Replies: 1 comment 3 replies
|
https://forum.cockos.com/showthread.php?t=297300 start/stop processing in reaper info |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm just starting this thread to log all of the cases where hosts do not honour the CLAP spec.
Perhaps some of these needs to be handled in CLAP wrapper, or perhaps filed with host developers, or perhaps just handled by the plugin.
All of these have been found with a CLAP-first wrapped plugin. But nevertheless it's possible issues my lie in VST3/AU implementations rather than CLAP-wrapper.
This doesn't cover threading issues for now (whether a callback is called from main-thread vs audio-thread). Added another discussion here.
Definite misbehaviours
CLAP process() is given a size smaller than activate() min_block_size
Format: VST3
CLAP wrapper version: 319bcd9
Host: VST3-Validator
OS: Linux
Misbehaviour: blocks to process should be within min/max: https://github.com/free-audio/clap/blob/69a69252fdd6ac1d06e246d9a04c0a89d9607a17/include/clap/plugin.h#L60-L71
CLAP activate() is given a max_block_size of 0
Format: VST3
CLAP wrapper version: 319bcd9
Host: Vienna Ensemble Pro
OS: macOS
Misbehaviour: min/max size should be in range 1 to INT32_MAX: https://github.com/free-audio/clap/blob/69a69252fdd6ac1d06e246d9a04c0a89d9607a17/include/clap/plugin.h#L60-L71
CLAP stop_processing() called when not being active
Format: VST3
CLAP wrapper version: 319bcd9
Host: Reaper
OS: Windows
Misbehaviour: stop_processing should only be called on an active plugin https://github.com/free-audio/clap/blob/69a69252fdd6ac1d06e246d9a04c0a89d9607a17/include/clap/plugin.h#L80-L82
CLAP reset() called when not being active
Format: VST3
CLAP wrapper version: 319bcd9
Host: Reaper
OS: Windows
Misbehaviour: reset should only be called on an active plugin https://github.com/free-audio/clap/blob/69a69252fdd6ac1d06e246d9a04c0a89d9607a17/include/clap/plugin.h#L84-L90
CLAP start_processing() called when not being active
Format: VST3
CLAP wrapper version: 319bcd9
Host: Reaper
OS: Windows
Misbehaviour: start_processing should only be called on an active plugin https://github.com/free-audio/clap/blob/69a69252fdd6ac1d06e246d9a04c0a89d9607a17/include/clap/plugin.h#L75-L78
Not strictly misbehaviour but surprising
CLAP invalid aspect ratio given to gui.set_size()
Many hosts will give you sizes that do not conform to any aspect ratio that you may have set with get_resize_hints or adjust_size. For example AU in Logic Pro, CLAP in Bitwig.
All reactions