mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
monitor: return factory_name in the object_info
Pass a factory_name in the object_info of monitor and device. Restructure the factory name to mean something functionaly. With the factory to library mapping this then means that the implementation of certain factories can be configured in the config file.
This commit is contained in:
parent
89a86db0c4
commit
1d1f035e78
26 changed files with 218 additions and 168 deletions
|
|
@ -283,7 +283,7 @@ static int make_nodes(struct data *data, const char *device)
|
|||
//uint32_t idx;
|
||||
|
||||
if ((res = make_node(data, &data->sink,
|
||||
"build/spa/plugins/alsa/libspa-alsa.so", "alsa-sink")) < 0) {
|
||||
"build/spa/plugins/alsa/libspa-alsa.so", "api.alsa.pcm.sink")) < 0) {
|
||||
printf("can't create alsa-sink: %d\n", res);
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -255,7 +255,7 @@ static int make_nodes(struct data *data, const char *device)
|
|||
uint32_t index;
|
||||
|
||||
if ((res =
|
||||
make_node(data, &data->source, PATH "v4l2/libspa-v4l2.so", "v4l2-source")) < 0) {
|
||||
make_node(data, &data->source, PATH "v4l2/libspa-v4l2.so", "api.v4l2.source")) < 0) {
|
||||
printf("can't create v4l2-source: %d\n", res);
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue