mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-30 13:14:16 -04:00
spa: libcamera: move CameraManager acquisition
Now that there is a "libcamera.cpp", move `libcamera_manager_acquire()` into that file since it is a common function used by all three factories.
This commit is contained in:
parent
390a4ce432
commit
6dc55d2cb4
6 changed files with 30 additions and 31 deletions
|
|
@ -4,6 +4,10 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <libcamera/camera_manager.h>
|
||||
|
||||
#include <spa/support/log.h>
|
||||
|
||||
extern "C" {
|
||||
|
|
@ -22,3 +26,5 @@ static inline void libcamera_log_topic_init(struct spa_log *log)
|
|||
{
|
||||
spa_log_topic_init(log, &libcamera_log_topic);
|
||||
}
|
||||
|
||||
std::shared_ptr<libcamera::CameraManager> libcamera_manager_acquire(int& res);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue