chore: compress .ogg audio files

This commit is contained in:
Ryan Walters
2025-09-11 02:01:44 -05:00
parent 00a65954e6
commit cca205fe95
11 changed files with 1 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ impl Audio {
/// If audio fails to initialize, the audio system will be disabled and
/// all functions will silently do nothing.
pub fn new() -> Self {
let frequency = 44_100;
let frequency = 16_000;
let format = AUDIO_S16LSB;
let chunk_size = {
// 256 is the minimum for Emscripten, but in practice 1024 is much more reliable