pipewire/spa/plugins
Barnabás Pőcze cc229d4b05 spa: libcamera: properly construct/deconstruct libcamera device impl
Previously, the "impl" object was never properly constructed or
destructed, but it more or less worked out since the memory was initialized
to zero bytes and each member had trivial constructors. Except std::shared_ptr,
but an all zero storage happened to be equivalent to a default constructed
shared_ptr.

However, there was the still the problem that the shared_ptr was never
destructed, so it kept the referenced `Camera` object alive, which lead
to memory leaks.

An additional, somewhat unrelated change is that the "props" struct
is removed, and the device identifier is now stored in an `std::string`.
The reason is that `CameraManager::get()` already takes a const std::string reference,
so an std::string must be constructed in any case, so we might as well
take advantage of that and use `std::string` in the "impl" object as well.

Furthermore, wrap the `impl` struct in an anonymous namespace
to avoid name resolution problems.
2022-09-15 11:17:47 +00:00
..
aec spa: aec: rename first argument of methods in spa_audio_aec_methods 2022-07-23 08:58:18 +00:00
alsa alsa-seq: add an option to disable longname in MIDI ports 2022-09-13 07:46:40 +00:00
audioconvert resample: fix peaks sse code 2022-09-14 16:58:41 +02:00
audiomixer spa: make default samplerate 48000 2022-09-05 12:21:20 +02:00
audiotestsrc spa: make default samplerate 48000 2022-09-05 12:21:20 +02:00
avb spa: clean up some port io checks 2022-09-01 15:39:34 +02:00
bluez5 bluez5: Use SelectProperties Endpoint property to detect device role 2022-09-15 11:17:20 +00:00
control spa: clean up some port io checks 2022-09-01 15:39:34 +02:00
ffmpeg spa: ffmpeg: set spa_handle_factory::version 2022-06-16 17:29:42 +02:00
jack buffers: make alignment optional 2022-01-03 12:32:26 +01:00
libcamera spa: libcamera: properly construct/deconstruct libcamera device impl 2022-09-15 11:17:47 +00:00
support spa: make default samplerate 48000 2022-09-05 12:21:20 +02:00
test spa: don't warn for NULL io 2022-09-01 15:31:14 +02:00
v4l2 v4l2: use the device name to open in BeginParams 2022-09-12 09:51:55 +02:00
videoconvert videoconvert: refresh with latest audioadapter copy 2022-09-06 17:48:00 +02:00
videotestsrc spa: don't warn for NULL io 2022-09-01 15:31:14 +02:00
volume spa: make default samplerate 48000 2022-09-05 12:21:20 +02:00
vulkan spa: clean up some port io checks 2022-09-01 15:39:34 +02:00
meson.build treewide: meson.build: use host_machine instead of build_machine 2022-08-17 07:34:20 +00:00