libsurvive icon indicating copy to clipboard operation
libsurvive copied to clipboard

libusb: microphone vanishes when starting libsurvive

Open ChristophHaag opened this issue 2 years ago • 1 comments

When starting libsurvive, the microphone device vanishes:

pipewire[6912]: spa.alsa: hw:4: snd_pcm_drop No such device
pipewire[6912]: spa.alsa: hw:4: close failed: No such device

Possible reason is that libsurvive uses libusb to "claim" the usb device, same reason why steamvr doesn't find the Index after libsurvive quits.

It does not happen when compiling with -DUSE_HIDAPI=1.

The question is, can the microphone be exempted from the libusb device grab or is using hidapi the only viable option?

ChristophHaag avatar May 13 '22 19:05 ChristophHaag

We can close this now :D

moshimeow avatar Jul 23 '22 04:07 moshimeow