pipewire/spa/plugins/libcamera
Barnabás Pőcze b8bbcfdb96 spa: libcamera: source: unify control range logic
If libcamera does not provide a default value, then the average of the
minimum and maximum values is taken. The same logic is duplicated for
`float` and `int32_t`, so move it into a function template.

(cherry picked from commit 8d9e469e09)
2025-09-26 09:58:10 +02:00
..
libcamera-device.cpp spa: libcamera: use nullptr instead of NULL 2025-09-26 09:58:10 +02:00
libcamera-manager.cpp spa: libcamera: manager: keep libcamera::CameraManager 2025-09-26 09:58:10 +02:00
libcamera-manager.hpp treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
libcamera-source.cpp spa: libcamera: source: unify control range logic 2025-09-26 09:58:10 +02:00
libcamera.c spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
libcamera.h spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
meson.build meson: fix build with missing libudev-devel 2024-02-06 11:49:40 +01:00