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
|
2022-01-29 00:33:29 +11:00
|
|
|
|
2022-03-02 07:39:53 +11:00
|
|
|
#![cfg_attr(feature = "simd", feature(portable_simd))]
|
|
|
|
|
2022-01-27 06:51:34 +11:00
|
|
|
#[macro_use]
|
2022-01-26 21:26:30 +11:00
|
|
|
pub mod debug;
|
2022-02-03 01:12:33 +11:00
|
|
|
|
2022-01-29 00:33:29 +11:00
|
|
|
pub mod formatters;
|
2022-01-26 21:48:40 +11:00
|
|
|
pub mod util;
|
2022-01-26 22:50:30 +11:00
|
|
|
|
|
|
|
// 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};
|
2022-02-15 01:30:10 +11:00
|
|
|
pub use param::enums::{Enum, EnumParam};
|
2022-02-03 01:12:33 +11:00
|
|
|
pub use param::internals::Params;
|
2022-03-04 05:24:40 +11:00
|
|
|
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::{
|
2022-03-01 00:45:07 +11:00
|
|
|
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;
|
2022-02-28 22:55:59 +11:00
|
|
|
mod event_loop;
|
2022-02-03 01:12:33 +11:00
|
|
|
pub mod param;
|
|
|
|
pub mod plugin;
|
|
|
|
pub mod wrapper;
|