Skip to content

jassert consistently hit on every float param in testParameterInfo (AU only) #150

@sudara

Description

@sudara

Jotting this down so it's not forgotten, not 100% sure yet if it's a me problem, pluginval, or changes in JUCE — but it seems to have started occurring when I bumped pluginval to latest develop yesterday. At least, I haven't seen it before and there's been no recent changes to my params.

Image

The issue is numSteps is quite large for all float parameters:

Image

The assertion in JUCE:

        StringArray getAllValueStrings() const override
        {
            if (! auValueStrings.isEmpty())
                return auValueStrings;

            // If this is hit, the returned array of strings is going to be very large!
            // Consider alternative approaches - perhaps you could fetch value strings
            // one-at-a-time to avoid needing to have all the strings in memory simultaneously.
            jassert (getNumSteps() <= maxStringsToCache);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions