Closed jbeich closed 11 months ago
Currently there is no fallback anyways, but I'm pretty sure if you did get a ffmpeg built with pulse and passed pulse to --audio-backend
it would work fine. Anyways, LGTM--cannot test on dragonfly but happy to accept PR's so long they are not hacks.
Oops, forgot to test against typos:
error: expected `;`, found keyword `pub`
--> src/main.rs:88:97
|
88 | "which audio device to record from. list devices with `cat /dev/sndstat` (pcmN -> dspN)"
| ^ help: add `;` here
89 | pub const DEFAULT_AUDIO_BACKEND: &str = "oss";
| --- unexpected token
Yep--pushed a fix for that. I'll get a simple cargo check
CI pipeline up at some point so it's easier to accept contributions (you may have noticed--you're the first ;) )
DragonFly supports wlroots and has fork of FreeBSD Ports, so may inherit wl-screenrec package recipe. Currently, not listed platforms fail to build:
Note,
pulse
can be made as a fallback but none of BSDs have FFmpeg built with PulseAudio enabled by default. Worse, PulseAudio is broken on DragonFly and discouraged on OpenBSD.