Skip to content

refactor: Upgrade LV2 plugin to ringbuf 0.4 API #4

@Detair

Description

@Detair

Description

crates/lv2/src/lib.rs uses the deprecated ringbuf 0.2 API (line 2-4). The app crate already uses ringbuf = "0.4.7" with the newer traits-based API (ringbuf::traits::{Consumer, Producer, Observer, Split}).

Impact

API inconsistency between crates. The LV2 plugin may fail to compile if ringbuf is updated workspace-wide.

Suggested Fix

Migrate LV2 plugin to use ringbuf 0.4 with HeapRb and the traits module, similar to how crates/app/src/audio.rs is implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions