LookingGlass icon indicating copy to clipboard operation
LookingGlass copied to clipboard

[client] Build fails on ALSA systems

Open ghost opened this issue 6 months ago • 3 comments

Build fails with the following: ...src/main.h:27:10: fatal error: dynamic/audiodev.h: No such file or directory

Apparently audiodev.h is to be created if either pipewire or pulseaudio is present.

Any future plans for ALSA support?

Some way to exclude audio altogether and build without it temporarily?

ghost avatar May 16 '25 17:05 ghost

Some way to exclude audio altogether and build without it temporarily?

This is covered in Looking Glass' official documentation. https://looking-glass.io/docs/B7/build/#client

You can disable audio support using CMake flags.

JJRcop avatar May 16 '25 18:05 JJRcop

Though the final decision is obviously Gnif's, I don't see any plans for direct ALSA support. ALSA is currently considered a low-level audio layer. All modern applications are expected to support a proper audio server such as PipeWire and not rely on direct audio access through ALSA

netboy3 avatar May 16 '25 18:05 netboy3

Any future plans for ALSA support?

No, with the modern audio servers such as PulseAudio and PipeWire there is absolutely no need to talk directly to ALSA anymore.

Some way to exclude audio altogether and build without it temporarily?

We should support this, I will add this to my todo list.

gnif avatar May 17 '25 00:05 gnif