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-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;
|
|
|
|
pub use param::range::Range;
|
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-02-07 03:12:57 +11:00
|
|
|
BufferConfig, BusConfig, Editor, NoteEvent, ParentWindowHandle, Plugin, ProcessStatus,
|
2022-02-06 10:06:01 +11:00
|
|
|
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;
|