zig fmt pass

This commit is contained in:
Luna 2021-04-03 21:09:44 -03:00
parent 2acb45fdca
commit 667e6cbdac

View file

@ -199,33 +199,25 @@ pub const Command = struct {
pub const Amp = LV2Command( pub const Amp = LV2Command(
.amp, .amp,
"http://lv2plug.in/plugins/eg-amp", "http://lv2plug.in/plugins/eg-amp",
struct { struct { gain: f32 },
gain: f32
},
); );
pub const RFlanger = LV2Command( pub const RFlanger = LV2Command(
.rflanger, .rflanger,
"http://plugin.org.uk/swh-plugins/retroFlange", "http://plugin.org.uk/swh-plugins/retroFlange",
struct { struct { delay_depth_avg: f32, law_freq: f32 },
delay_depth_avg: f32, law_freq: f32
},
); );
pub const Eq = LV2Command( pub const Eq = LV2Command(
.rflanger, .rflanger,
"http://plugin.org.uk/swh-plugins/dj_eq_mono", "http://plugin.org.uk/swh-plugins/dj_eq_mono",
struct { struct { lo: f32, mid: f32, hi: f32 },
lo: f32, mid: f32, hi: f32
},
); );
pub const Phaser = LV2Command( pub const Phaser = LV2Command(
.phaser, .phaser,
"http://plugin.org.uk/swh-plugins/lfoPhaser", "http://plugin.org.uk/swh-plugins/lfoPhaser",
struct { struct { lfo_rate: f32, lfo_depth: f32, fb: f32, spread: f32 },
lfo_rate: f32, lfo_depth: f32, fb: f32, spread: f32
},
); );
pub const Mbeq = LV2Command( pub const Mbeq = LV2Command(
@ -378,9 +370,7 @@ pub const Command = struct {
pub const Foverdrive = LV2Command(.foverdrive, "http://plugin.org.uk/swh-plugins/foverdrive", struct { pub const Foverdrive = LV2Command(.foverdrive, "http://plugin.org.uk/swh-plugins/foverdrive", struct {
drive: f32, drive: f32,
}); });
pub const Thruzero = LV2Command(.thruzero, "http://drobilla.net/plugins/mda/ThruZero", struct { pub const Thruzero = LV2Command(.thruzero, "http://drobilla.net/plugins/mda/ThruZero", struct { rate: f32, mix: f32, feedback: f32, depth_mod: f32 });
rate: f32, mix: f32, feedback: f32, depth_mod: f32
});
pub const Gverb = LV2Command(.gverb, "http://plugin.org.uk/swh-plugins/gverb", struct { pub const Gverb = LV2Command(.gverb, "http://plugin.org.uk/swh-plugins/gverb", struct {
roomsize: f32, roomsize: f32,