Minor fixes for nih-plug

This commit is contained in:
Weird Constructor 2022-06-26 23:21:32 +02:00
parent dcfa217fd0
commit bc196d5527
2 changed files with 5 additions and 0 deletions

View file

@ -242,6 +242,7 @@ impl crate::monitor::MonitorSource for &ProcBuf {
}
unsafe impl Send for ProcBuf {}
unsafe impl Sync for ProcBuf {}
//unsafe impl Sync for HexoSynthShared {}
impl ProcBuf {

View file

@ -216,6 +216,10 @@ impl NodeExecutor {
}
}
pub fn no_logging(&mut self) {
self.dsp_log_init = true;
}
#[inline]
pub fn process_graph_updates(&mut self) {
while let Some(upd) = self.shared.graph_update_con.pop() {