/// Add a parameter to the store
///
/// # Locking
/// This will lock the store for writing.
/// Locking the store while processing audio is not desired.
Add a parameter to the store
Add a parameter to the store
pub fn add_parameter(&mut self, id: &str, parameter: ParameterRef) {
        if let Ok(mut inner) = self.inner.write() {
            inner.parameter_ids.push(id.to_string());
            inner.parameters.insert(id.to_string(), parameter);
        }
    }
pub fn add_parameter ( & mut self , id : & str , parameter : ParameterRef ) { if let Ok ( mut inner ) = self . inner . write ( ) { inner . parameter_ids . push ( id . to_string ( ) ) ; inner . parameters . insert ( id . to_string ( ) , parameter ) ; } }
Add a parameter to the store
Add a parameter to the store
&mut self
id
&str
parameter
ParameterRef
locking
This will lock the store for writing.
Locking the store while processing audio is not desired.
This will lock the store for writing . Locking the store while processing audio is not desired .