1
0
Fork 0
nih-plug/src/lib.rs

29 lines
921 B
Rust
Raw Normal View History

2022-03-03 23:30:29 +01:00
//! Documentation is currently a work in progress. Import everything from the [`prelude`] module and
//! check out the example plugins to get started.
#![cfg_attr(feature = "docs", feature(doc_auto_cfg))]
#![cfg_attr(feature = "simd", feature(portable_simd))]
// These macros are also in the crate root and in the prelude, but having the module itself be pub
// as well makes it easy to import _just_ the macros without using `#[macro_use] extern crate nih_plug;`
#[macro_use]
pub mod debug;
2022-02-02 15:12:33 +01:00
/// A re-export of the `log` crate for use in the debug macros. This should not be used directly.
pub use log;
2022-03-03 23:30:29 +01:00
/// Everything you'll need to use NIH-plug. Import this with `use nih_plug::prelude::*;`.
pub mod prelude;
// These modules have also been re-exported in the prelude.
pub mod formatters;
pub mod util;
pub mod buffer;
pub mod context;
2022-03-03 23:34:06 +01:00
mod event_loop;
2022-04-07 23:28:31 +02:00
pub mod midi;
2022-02-02 15:12:33 +01:00
pub mod param;
pub mod plugin;
pub mod wrapper;