mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-13 14:33:03 -04:00
Merge branch 'wip/known-tags' into 'master'
Draft: pipewire: Introduce well known tags See merge request pipewire/pipewire!2852
This commit is contained in:
commit
b43ecf9b41
2 changed files with 49 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ pipewire_headers = [
|
|||
'proxy.h',
|
||||
'resource.h',
|
||||
'stream.h',
|
||||
'tags.h',
|
||||
'thread.h',
|
||||
'thread-loop.h',
|
||||
'timer-queue.h',
|
||||
|
|
|
|||
48
src/pipewire/tags.h
Normal file
48
src/pipewire/tags.h
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
/* PipeWire */
|
||||
/* SPDX-FileCopyrightText: Copyright © 2026 Red Hat */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
#ifndef PIPEWIRE_TAGS_H
|
||||
#define PIPEWIRE_TAGS_H
|
||||
|
||||
#include <pipewire/utils.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \defgroup pw_stream_tags Well known stream tags
|
||||
*
|
||||
* A collection of tags that can be used for knows dynamic stream properties.
|
||||
*
|
||||
* \addtogroup pw_stream_tags
|
||||
* \{
|
||||
*/
|
||||
|
||||
/**
|
||||
* Output tags, set by stream producers.
|
||||
*/
|
||||
|
||||
/**< Stream contents should be considered to be scaled according to the
|
||||
* specified floating point number. */
|
||||
#define PW_STREAM_OUTPUT_TAG_SCALE "pipewire.output.stream.scale"
|
||||
|
||||
|
||||
/**
|
||||
* Input tags, set by stream consumers.
|
||||
*/
|
||||
|
||||
/**< Stream consumer prefers the producer produces content with the scale
|
||||
* specified with this floating point number.
|
||||
*/
|
||||
#define PW_STREAM_INPUT_TAG_PREFERRED_SCALE "pipewire.input.stream.preferred-scale"
|
||||
|
||||
/** \}
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* PIPEWIRE_TAGS_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue