Skip to content

Set Enum-Properties on Elements by their literal Name #182

@MaZderMind

Description

@MaZderMind

Enum-Properties on Elements such as the audiotestsrcElement can currently only be set via their numeric value:

pipeline.getElementByName("test_src").set("wave", 4);

It would be very helpful to be also able to use the literal Enum-Value:

pipeline.getElementByName("test_src").set("wave", "silence");

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions