firewheel_graph/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod backend;
pub mod context;
pub mod factory_nodes;
pub mod graph;
pub mod processor;

pub use context::{ActiveFwCtx, InactiveFwCtx};

/// The default maximum number of frames that can appear in a
/// processing block.
///
/// This number is a balance between processing overhead and
/// cache efficiency. Lower values have better cache efficieny
/// but more overhead, and higher values have worse cache
/// efficiency but less overhead. We may need to experiment with
/// different values to see what is the best for a typical game
/// audio graph. (The value must also be a power of two.)
pub const DEFAULT_MAX_BLOCK_FRAMES: usize = 256;