mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Remove MidiInput::None from nontrivial examples
Since it's the default, makes the examples a bit shorter.
This commit is contained in:
@@ -70,7 +70,6 @@ impl Plugin for Gain {
|
|||||||
const DEFAULT_NUM_INPUTS: u32 = 2;
|
const DEFAULT_NUM_INPUTS: u32 = 2;
|
||||||
const DEFAULT_NUM_OUTPUTS: u32 = 2;
|
const DEFAULT_NUM_OUTPUTS: u32 = 2;
|
||||||
|
|
||||||
const MIDI_INPUT: MidiConfig = MidiConfig::None;
|
|
||||||
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
|
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
|
||||||
|
|
||||||
fn params(&self) -> Arc<dyn Params> {
|
fn params(&self) -> Arc<dyn Params> {
|
||||||
|
|||||||
@@ -67,7 +67,6 @@ impl Plugin for Gain {
|
|||||||
const DEFAULT_NUM_INPUTS: u32 = 2;
|
const DEFAULT_NUM_INPUTS: u32 = 2;
|
||||||
const DEFAULT_NUM_OUTPUTS: u32 = 2;
|
const DEFAULT_NUM_OUTPUTS: u32 = 2;
|
||||||
|
|
||||||
const MIDI_INPUT: MidiConfig = MidiConfig::None;
|
|
||||||
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
|
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
|
||||||
|
|
||||||
fn params(&self) -> Arc<dyn Params> {
|
fn params(&self) -> Arc<dyn Params> {
|
||||||
|
|||||||
@@ -67,7 +67,6 @@ impl Plugin for Gain {
|
|||||||
const DEFAULT_NUM_INPUTS: u32 = 2;
|
const DEFAULT_NUM_INPUTS: u32 = 2;
|
||||||
const DEFAULT_NUM_OUTPUTS: u32 = 2;
|
const DEFAULT_NUM_OUTPUTS: u32 = 2;
|
||||||
|
|
||||||
const MIDI_INPUT: MidiConfig = MidiConfig::None;
|
|
||||||
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
|
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
|
||||||
|
|
||||||
fn params(&self) -> Arc<dyn Params> {
|
fn params(&self) -> Arc<dyn Params> {
|
||||||
|
|||||||
@@ -87,7 +87,6 @@ impl Plugin for Stft {
|
|||||||
const DEFAULT_NUM_INPUTS: u32 = 2;
|
const DEFAULT_NUM_INPUTS: u32 = 2;
|
||||||
const DEFAULT_NUM_OUTPUTS: u32 = 2;
|
const DEFAULT_NUM_OUTPUTS: u32 = 2;
|
||||||
|
|
||||||
const MIDI_INPUT: MidiConfig = MidiConfig::None;
|
|
||||||
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
|
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
|
||||||
|
|
||||||
fn params(&self) -> Arc<dyn Params> {
|
fn params(&self) -> Arc<dyn Params> {
|
||||||
|
|||||||
Reference in New Issue
Block a user