Feat: adapt cagire to doux v0.0.12
Some checks failed
Deploy Website / deploy (push) Failing after 20s

This commit is contained in:
2026-03-14 12:43:18 +01:00
parent 9cc17d14de
commit 82e5f47933
20 changed files with 175 additions and 552 deletions

View File

@@ -339,8 +339,9 @@ pub fn build_stream(
let channels = channels as usize;
let max_voices = config.max_voices;
let block_size = if config.buffer_size > 0 { config.buffer_size as usize } else { 512 };
let mut engine =
Engine::new_with_metrics(sample_rate, channels, max_voices, Arc::clone(&metrics));
Engine::new_with_metrics(sample_rate, channels, max_voices, Arc::clone(&metrics), block_size);
engine.sample_index = initial_samples;
for path in sample_paths {