@iska@mstdn.starnix.network @cyberspook @fugger I think you're right! I still prefer youtube-dl though. Firefox wants pulseaudio for audio input to work, but as I hate pulse, I use this wrapper called apulse. It introduces some lag which makes audio and video out of sync. It's okay for video calls and such, but it pisses me off watching videos like this. With youtube-dl I can also keep the video if I like it ā so youtube-dl is my weapon of choice when it comes to dealing with web video.
@mikuphile Yeah, I'm afraid giving exclusive sound card access to Firefox won't cut it for me, I often use mpv and other software, but always leave FF running. I'll look into reducing buffer size, thanks for the tip!
Do you remember which file these values are defined in?
@mikuphile
> You can download the source of apulse, and in src/apulse-stream.c insert the lines "period_size = 16;" after line 353 and "buffer_size = 64;"
Yes, this is exactly what I wanted! I was browsing through apulse's sources, but I couldn't find it myself š¤
I'm using Void so adding a patch and rebuilding is easy. I'll try that, thanks!