//! Shared audio configuration constants.
//!
//! Defines strict mathematical constraints required for Opus encoding and decoding.

#![forbid(unsafe_code)]
#![deny(clippy::all, clippy::pedantic)]
#![deny(clippy::unwrap_used, clippy::expect_used)]

pub mod capture;
pub mod dsp;
pub mod playback;

/// The strict sample rate required across the entire DSP pipeline.
pub const SAMPLE_RATE: u32 = 48_000;

/// The number of channels for microphone capture (Mono).
pub const INPUT_CHANNELS: u16 = 1;

/// The exact number of samples required per frame for Opus (20ms).
#[allow(dead_code)]
pub const FRAME_SIZE: usize = 960;
