Skip to content

param-conversions: warn instead of "divide by zero" error when param count is 0 - #40

Open
directmusic wants to merge 1 commit into
free-audio:masterfrom
directmusic:patch-1
Open

directmusic wants to merge 1 commit into
free-audio:masterfrom
directmusic:patch-1

Conversation

@directmusic

Copy link
Copy Markdown

When running clap-validator on a plug-in which implements the "clap.params" extension, but has no parameters clap-validator returns the following error: "attempt to divide by zero. This is a bug in the validator"

This patch simply returns a warning instead, in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant