mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-01-01 11:08:43 -05:00
spa: add definitions for IEC958 (S/PDIF)
Add Format subtype and codec property. Add codecs to include in the format codec property. Add property to configure elements with supported codecs. Add type info.
This commit is contained in:
parent
0af0cceca2
commit
8147772cf5
5 changed files with 95 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ enum spa_media_subtype {
|
|||
SPA_MEDIA_SUBTYPE_unknown,
|
||||
SPA_MEDIA_SUBTYPE_raw,
|
||||
SPA_MEDIA_SUBTYPE_dsp,
|
||||
SPA_MEDIA_SUBTYPE_iec958, /** S/PDIF */
|
||||
|
||||
SPA_MEDIA_SUBTYPE_START_Audio = 0x10000,
|
||||
SPA_MEDIA_SUBTYPE_mp3,
|
||||
|
|
@ -110,6 +111,8 @@ enum spa_format {
|
|||
SPA_FORMAT_AUDIO_channels, /**< number of audio channels (Int) */
|
||||
SPA_FORMAT_AUDIO_position, /**< channel positions (Id enum spa_audio_position) */
|
||||
|
||||
SPA_FORMAT_AUDIO_iec958Codec, /**< codec used (IEC958) (Id enum spa_audio_iec958_codec) */
|
||||
|
||||
/* Video Format keys */
|
||||
SPA_FORMAT_START_Video = 0x20000,
|
||||
SPA_FORMAT_VIDEO_format, /**< video format (Id enum spa_video_format) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue