Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.23 KB

README.md

File metadata and controls

55 lines (41 loc) · 1.23 KB

clap

Low-level wrapper for CLAP plugin API in V.

The intention of this library is to stay as close to the C version as possible while offering a more idiomatic V interface.

The biggest departure from the original code is swapping the enums for a set of constants. This is due to the otherwise awkward usage of V enums when interacting with C code (e.g. casting required in match blocks).

Usage

Install the V package:

v install odiroot.clap

Use in your code with

import odiroot.clap

Examples

See here for example plugins.

Compatibility

Currently supporting all non-draft APIs.

Still missing:

  • factory/draft/plugin-invalidation.h
  • factory/draft/preset-discovery.h
  • ext/draft/ambisonic.h
  • ext/draft/audio-ports-activation.h
  • ext/draft/check-for-update.h
  • ext/draft/configurable-audio-ports.h
  • ext/draft/context-menu.h
  • ext/draft/cv.h
  • ext/draft/extensible-audio-ports.h
  • ext/draft/midi-mappings.h
  • ext/draft/param-indication.h
  • ext/draft/preset-load.h
  • ext/draft/remote-controls.h
  • ext/draft/resource-directory.h
  • ext/draft/state-context.h
  • ext/draft/surround.h
  • ext/draft/track-info.h
  • ext/draft/transport-control.h
  • ext/draft/triggers.h
  • ext/draft/tuning.h