mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
names: add vulkan compute source factory name
This commit is contained in:
parent
7fd6d6d820
commit
2d8bce7479
2 changed files with 6 additions and 1 deletions
|
|
@ -103,6 +103,10 @@ extern "C" {
|
||||||
#define SPA_NAME_API_JACK_SOURCE "api.jack.source" /**< a jack source */
|
#define SPA_NAME_API_JACK_SOURCE "api.jack.source" /**< a jack source */
|
||||||
#define SPA_NAME_API_JACK_SINK "api.jack.sink" /**< a jack sink */
|
#define SPA_NAME_API_JACK_SINK "api.jack.sink" /**< a jack sink */
|
||||||
|
|
||||||
|
/** keys for vulkan factory names */
|
||||||
|
#define SPA_NAME_API_VULKAN_COMPUTE_SOURCE \
|
||||||
|
"api.vulkan.compute.source" /**< a vulkan compute source. */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@
|
||||||
#include <spa/support/loop.h>
|
#include <spa/support/loop.h>
|
||||||
#include <spa/utils/list.h>
|
#include <spa/utils/list.h>
|
||||||
#include <spa/utils/keys.h>
|
#include <spa/utils/keys.h>
|
||||||
|
#include <spa/utils/names.h>
|
||||||
#include <spa/node/node.h>
|
#include <spa/node/node.h>
|
||||||
#include <spa/node/utils.h>
|
#include <spa/node/utils.h>
|
||||||
#include <spa/node/io.h>
|
#include <spa/node/io.h>
|
||||||
|
|
@ -974,7 +975,7 @@ static const struct spa_dict info = SPA_DICT_INIT_ARRAY(info_items);
|
||||||
|
|
||||||
const struct spa_handle_factory spa_vulkan_compute_source_factory = {
|
const struct spa_handle_factory spa_vulkan_compute_source_factory = {
|
||||||
SPA_VERSION_HANDLE_FACTORY,
|
SPA_VERSION_HANDLE_FACTORY,
|
||||||
"api.vulkan.compute.source",
|
SPA_NAME_API_VULKAN_COMPUTE_SOURCE,
|
||||||
&info,
|
&info,
|
||||||
impl_get_size,
|
impl_get_size,
|
||||||
impl_init,
|
impl_init,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue