//! Fixed system-wide specifications.
//!
//! Contains constants required for hardware configuration, network binding,
//! and math routines such as audio framing lengths.

/// The uniform audio sampling rate (48 kHz).
/// We lock the entire system to 48kHz because Opus performs optimally at this rate.
pub const SAMPLE_RATE: u32 = 48000;

/// The exact number of audio samples per 20ms frame at 48kHz.
/// Opus strictly requires a specific frame size (like 20ms) to function correctly.
pub const FRAME_SIZE: usize = 960;

/// The default TCP port used for reliable control lane communication.
pub const TCP_PORT: u16 = 8080;
