mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Add monitor interface
Add an interface to monitor devices and helper program Add v4l2 monitor Add simple dictionary with key/value pairs
This commit is contained in:
parent
140f360cc0
commit
9f53eda6cb
29 changed files with 921 additions and 51 deletions
|
|
@ -21,6 +21,7 @@
|
|||
#include <spa/node.h>
|
||||
|
||||
extern const SpaHandleFactory spa_v4l2_source_factory;
|
||||
extern const SpaHandleFactory spa_v4l2_monitor_factory;
|
||||
|
||||
SpaResult
|
||||
spa_enum_handle_factory (const SpaHandleFactory **factory,
|
||||
|
|
@ -37,6 +38,9 @@ spa_enum_handle_factory (const SpaHandleFactory **factory,
|
|||
case 0:
|
||||
*factory = &spa_v4l2_source_factory;
|
||||
break;
|
||||
case 1:
|
||||
*factory = &spa_v4l2_monitor_factory;
|
||||
break;
|
||||
default:
|
||||
return SPA_RESULT_ENUM_END;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue