Skip to main content

MIC_CHUNK_FRAMES

Constant MIC_CHUNK_FRAMES 

Source
pub const MIC_CHUNK_FRAMES: u64 = 2_400;
Expand description

Frames per next_chunk call. 2400 frames @ 48 kHz = 50 ms of audio per chunk — gives the M-AUDIO.METER / AUT-287 audio-level meter ~20 Hz update cadence (one chunk → one RMS sample → one mic-level event). Previously 4800 (100 ms / 10 Hz); reduced for meter smoothness without measurable IPC overhead.