vhaudiquet b82225ce08 record-daemon: enumerate real audio devices again
getAudioDevices handed out the hardcoded fallback pair because the real
enumeration killed the process: the device enumerator outlived its COM
apartment, so CoUninitialize() ran while an interface was still alive.
The enumeration now runs on a thread of its own, and the apartment is a
value declared after the COM objects so it is dropped after them.

The friendly name read used the wrong property key GUID, so every
device came back as "Input Device 1". With the right key the app gets
"Microphone (Insta360 Link 2C)" and the other endpoint names.

log_file also loses its -l short flag: clap's debug assertions reject
it because log_level already owns -l, and a debug build of the daemon
therefore exited on startup before serving a single command.
2026-11-16 19:06:29 +01:00
2026-11-12 23:17:21 +01:00
2026-11-12 23:17:26 +01:00
S
Description
No description provided
59 MiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 100%