use crate::{Decibels, Mix, command::handle_param_setters};
use super::{CommandWriters, DistortionKind};
#[derive(Debug)]
pub struct DistortionHandle {
pub(super) command_writers: CommandWriters,
}
impl DistortionHandle {
pub fn set_kind(&mut self, kind: DistortionKind) {
self.command_writers.set_kind.write(kind)
}
handle_param_setters! {
drive: Decibels,
mix: Mix,
}
}