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

35 lines
1 KiB
Rust
Raw Normal View History

2022-02-06 09:34:38 +11:00
// TODO: Once everything is more fleshed out, document the basic usage of this library and
// restructure these re-exports into a more useful prelude
#![cfg_attr(feature = "simd", feature(portable_simd))]
#[macro_use]
2022-01-26 21:26:30 +11:00
pub mod debug;
2022-02-03 01:12:33 +11:00
pub mod formatters;
pub mod util;
// Re-export our derive macros to make this a bit easier to use
pub use nih_plug_derive::Params;
2022-02-03 01:12:33 +11:00
// And also re-export anything you'd need to build a plugin
pub use buffer::Buffer;
2022-02-06 09:34:38 +11:00
pub use context::{GuiContext, ParamSetter, ProcessContext};
pub use param::enums::{Enum, EnumParam};
2022-02-03 01:12:33 +11:00
pub use param::internals::Params;
pub use param::range::{FloatRange, IntRange};
2022-02-03 07:08:23 +11:00
pub use param::smoothing::{Smoother, SmoothingStyle};
2022-02-03 01:12:33 +11:00
pub use param::{BoolParam, FloatParam, IntParam, Param};
2022-02-05 22:46:26 +11:00
pub use plugin::{
BufferConfig, BusConfig, ClapPlugin, Editor, NoteEvent, ParentWindowHandle, Plugin,
ProcessStatus, Vst3Plugin,
2022-02-05 22:46:26 +11:00
};
2022-02-03 01:12:33 +11:00
// The rest is either internal or already re-exported
mod buffer;
mod context;
mod event_loop;
2022-02-03 01:12:33 +11:00
pub mod param;
pub mod plugin;
pub mod wrapper;