Skip to content

Audio hitches from WSL #282

@AlterionX

Description

@AlterionX

Songbird version: (version)
0.5.0

Rust version (rustc -V): (version)
rustc 1.88.0-nightly (13e879094 2025-05-04)

Serenity/Twilight version: (version)
Serenity 0.12

Output of ffmpeg -version, yt-dlp --version (if relevant):
N/A

Description:

Audio hitches every ~3 seconds (0.1s of silence before resuming from start of silence) when playing back to Discord VC.

Bot is running in WSL

Steps to reproduce:

100% of the time, for clips longer than 20 seconds

code:

let audio = std::fs::read(audio_file_path).unwrap();
let mem = Memory::new(audio.into()).await.unwrap();
handler_lock.play_input();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions