perf: reduced memory consumption

This commit is contained in:
Ahmet Kaan Gümüş 2025-06-16 02:11:29 +03:00
parent 8cad7658ea
commit d375c9b564
8 changed files with 67 additions and 983 deletions

View file

@ -1,9 +1,9 @@
use protocol::protocol::Speaker;
use tokio::sync::broadcast;
pub mod audio;
pub mod gui;
pub mod stream;
pub mod voice;
const MICROPHONE_BUFFER_LENGHT: usize = 1024 * 4;
const SPEAKER_BUFFER_LENGHT: usize = 1024 * 16 * 16;