Feat: no console in bg and plugin fix
This commit is contained in:
@@ -328,6 +328,11 @@ impl Plugin for CagirePlugin {
|
||||
AudioCommand::LoadSamples(samples) => {
|
||||
engine.sample_index.extend(samples);
|
||||
}
|
||||
AudioCommand::LoadSoundfont(path) => {
|
||||
if let Err(e) = engine.load_soundfont(&path) {
|
||||
eprintln!("Failed to load soundfont: {e}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user