2022-01-25 12:19:53 +11:00
|
|
|
// nih-plug: plugins, but rewritten in Rust
|
2022-01-25 06:18:37 +11:00
|
|
|
// Copyright (C) 2022 Robbert van der Helm
|
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
2022-01-29 00:33:29 +11:00
|
|
|
// TODO: Once everything is more fleshed out, document the basic usage of this library
|
|
|
|
|
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;
|
|
|
|
pub use context::ProcessContext;
|
|
|
|
pub use param::internals::Params;
|
|
|
|
pub use param::range::Range;
|
|
|
|
pub use param::{BoolParam, FloatParam, IntParam, Param};
|
|
|
|
pub use plugin::{BufferConfig, BusConfig, Plugin, ProcessStatus, Vst3Plugin};
|
|
|
|
|
|
|
|
// The rest is either internal or already re-exported
|
|
|
|
mod buffer;
|
|
|
|
mod context;
|
|
|
|
pub mod param;
|
|
|
|
pub mod plugin;
|
|
|
|
pub mod wrapper;
|