PipeWire 1.1.0
Loading...
Searching...
No Matches
Parameters

Parameter value enumerations and type information. More...

Files

file  dsd.h
 spa/param/audio/dsd.h
 
file  format.h
 spa/param/audio/format.h
 
file  iec958.h
 spa/param/audio/iec958.h
 
file  layout.h
 spa/param/audio/layout.h
 
file  raw-types.h
 spa/param/audio/raw-types.h
 
file  raw.h
 spa/param/audio/raw.h
 
file  audio.h
 spa/param/bluetooth/audio.h
 
file  type-info.h
 spa/param/bluetooth/type-info.h
 
file  buffers-types.h
 spa/param/buffers-types.h
 
file  buffers.h
 spa/param/buffers.h
 
file  format-types.h
 spa/param/format-types.h
 
file  format.h
 spa/param/format.h
 
file  latency-types.h
 spa/param/latency-types.h
 
file  latency.h
 spa/param/latency.h
 
file  param-types.h
 spa/param/param-types.h
 
file  param.h
 spa/param/param.h
 
file  port-config-types.h
 spa/param/port-config-types.h
 
file  port-config.h
 spa/param/port-config.h
 
file  profile-types.h
 spa/param/profile-types.h
 
file  profile.h
 spa/param/profile.h
 
file  profiler-types.h
 spa/param/profiler-types.h
 
file  profiler.h
 spa/param/profiler.h
 
file  route-types.h
 spa/param/route-types.h
 
file  route.h
 spa/param/route.h
 
file  tag-types.h
 spa/param/tag-types.h
 
file  tag.h
 spa/param/tag.h
 
file  chroma.h
 spa/param/video/chroma.h
 
file  color.h
 spa/param/video/color.h
 
file  dsp.h
 spa/param/video/dsp.h
 
file  format.h
 spa/param/video/format.h
 
file  h264.h
 spa/param/video/h264.h
 
file  mjpg.h
 spa/param/video/mjpg.h
 
file  multiview.h
 spa/param/video/multiview.h
 
file  raw-types.h
 spa/param/video/raw-types.h
 
file  raw.h
 spa/param/video/raw.h
 

Data Structures

struct  spa_audio_info_dsd
 
struct  spa_audio_info
 
struct  spa_audio_info_iec958
 
struct  spa_audio_layout_info
 
struct  spa_audio_info_raw
 Audio information description. More...
 
struct  spa_latency_info
 helper structure for managing latency objects More...
 
struct  spa_process_latency_info
 Helper structure for managing process latency objects. More...
 
struct  spa_param_info
 information about a parameter More...
 
struct  spa_tag_info
 helper structure for managing tag objects More...
 
struct  spa_video_colorimetry
 spa_video_colorimetry: More...
 
struct  spa_video_info_dsp
 
struct  spa_video_info
 
struct  spa_video_info_h264
 
struct  spa_video_info_mjpg
 
struct  spa_video_info_raw
 

Enumerations

enum  spa_audio_iec958_codec {
  SPA_AUDIO_IEC958_CODEC_UNKNOWN , SPA_AUDIO_IEC958_CODEC_PCM , SPA_AUDIO_IEC958_CODEC_DTS , SPA_AUDIO_IEC958_CODEC_AC3 ,
  SPA_AUDIO_IEC958_CODEC_MPEG , SPA_AUDIO_IEC958_CODEC_MPEG2_AAC , SPA_AUDIO_IEC958_CODEC_EAC3 , SPA_AUDIO_IEC958_CODEC_TRUEHD ,
  SPA_AUDIO_IEC958_CODEC_DTSHD
}
 
enum  spa_audio_format {
  SPA_AUDIO_FORMAT_UNKNOWN , SPA_AUDIO_FORMAT_ENCODED , SPA_AUDIO_FORMAT_START_Interleaved = 0x100 , SPA_AUDIO_FORMAT_S8 ,
  SPA_AUDIO_FORMAT_U8 , SPA_AUDIO_FORMAT_S16_LE , SPA_AUDIO_FORMAT_S16_BE , SPA_AUDIO_FORMAT_U16_LE ,
  SPA_AUDIO_FORMAT_U16_BE , SPA_AUDIO_FORMAT_S24_32_LE , SPA_AUDIO_FORMAT_S24_32_BE , SPA_AUDIO_FORMAT_U24_32_LE ,
  SPA_AUDIO_FORMAT_U24_32_BE , SPA_AUDIO_FORMAT_S32_LE , SPA_AUDIO_FORMAT_S32_BE , SPA_AUDIO_FORMAT_U32_LE ,
  SPA_AUDIO_FORMAT_U32_BE , SPA_AUDIO_FORMAT_S24_LE , SPA_AUDIO_FORMAT_S24_BE , SPA_AUDIO_FORMAT_U24_LE ,
  SPA_AUDIO_FORMAT_U24_BE , SPA_AUDIO_FORMAT_S20_LE , SPA_AUDIO_FORMAT_S20_BE , SPA_AUDIO_FORMAT_U20_LE ,
  SPA_AUDIO_FORMAT_U20_BE , SPA_AUDIO_FORMAT_S18_LE , SPA_AUDIO_FORMAT_S18_BE , SPA_AUDIO_FORMAT_U18_LE ,
  SPA_AUDIO_FORMAT_U18_BE , SPA_AUDIO_FORMAT_F32_LE , SPA_AUDIO_FORMAT_F32_BE , SPA_AUDIO_FORMAT_F64_LE ,
  SPA_AUDIO_FORMAT_F64_BE , SPA_AUDIO_FORMAT_ULAW , SPA_AUDIO_FORMAT_ALAW , SPA_AUDIO_FORMAT_START_Planar = 0x200 ,
  SPA_AUDIO_FORMAT_U8P , SPA_AUDIO_FORMAT_S16P , SPA_AUDIO_FORMAT_S24_32P , SPA_AUDIO_FORMAT_S32P ,
  SPA_AUDIO_FORMAT_S24P , SPA_AUDIO_FORMAT_F32P , SPA_AUDIO_FORMAT_F64P , SPA_AUDIO_FORMAT_S8P ,
  SPA_AUDIO_FORMAT_START_Other = 0x400 , SPA_AUDIO_FORMAT_DSP_S32 = SPA_AUDIO_FORMAT_S24_32P , SPA_AUDIO_FORMAT_DSP_F32 = SPA_AUDIO_FORMAT_F32P , SPA_AUDIO_FORMAT_DSP_F64 = SPA_AUDIO_FORMAT_F64P ,
  SPA_AUDIO_FORMAT_S16 = SPA_AUDIO_FORMAT_S16_BE , SPA_AUDIO_FORMAT_U16 = SPA_AUDIO_FORMAT_U16_BE , SPA_AUDIO_FORMAT_S24_32 = SPA_AUDIO_FORMAT_S24_32_BE , SPA_AUDIO_FORMAT_U24_32 = SPA_AUDIO_FORMAT_U24_32_BE ,
  SPA_AUDIO_FORMAT_S32 = SPA_AUDIO_FORMAT_S32_BE , SPA_AUDIO_FORMAT_U32 = SPA_AUDIO_FORMAT_U32_BE , SPA_AUDIO_FORMAT_S24 = SPA_AUDIO_FORMAT_S24_BE , SPA_AUDIO_FORMAT_U24 = SPA_AUDIO_FORMAT_U24_BE ,
  SPA_AUDIO_FORMAT_S20 = SPA_AUDIO_FORMAT_S20_BE , SPA_AUDIO_FORMAT_U20 = SPA_AUDIO_FORMAT_U20_BE , SPA_AUDIO_FORMAT_S18 = SPA_AUDIO_FORMAT_S18_BE , SPA_AUDIO_FORMAT_U18 = SPA_AUDIO_FORMAT_U18_BE ,
  SPA_AUDIO_FORMAT_F32 = SPA_AUDIO_FORMAT_F32_BE , SPA_AUDIO_FORMAT_F64 = SPA_AUDIO_FORMAT_F64_BE , SPA_AUDIO_FORMAT_S16_OE = SPA_AUDIO_FORMAT_S16_LE , SPA_AUDIO_FORMAT_U16_OE = SPA_AUDIO_FORMAT_U16_LE ,
  SPA_AUDIO_FORMAT_S24_32_OE = SPA_AUDIO_FORMAT_S24_32_LE , SPA_AUDIO_FORMAT_U24_32_OE = SPA_AUDIO_FORMAT_U24_32_LE , SPA_AUDIO_FORMAT_S32_OE = SPA_AUDIO_FORMAT_S32_LE , SPA_AUDIO_FORMAT_U32_OE = SPA_AUDIO_FORMAT_U32_LE ,
  SPA_AUDIO_FORMAT_S24_OE = SPA_AUDIO_FORMAT_S24_LE , SPA_AUDIO_FORMAT_U24_OE = SPA_AUDIO_FORMAT_U24_LE , SPA_AUDIO_FORMAT_S20_OE = SPA_AUDIO_FORMAT_S20_LE , SPA_AUDIO_FORMAT_U20_OE = SPA_AUDIO_FORMAT_U20_LE ,
  SPA_AUDIO_FORMAT_S18_OE = SPA_AUDIO_FORMAT_S18_LE , SPA_AUDIO_FORMAT_U18_OE = SPA_AUDIO_FORMAT_U18_LE , SPA_AUDIO_FORMAT_F32_OE = SPA_AUDIO_FORMAT_F32_LE , SPA_AUDIO_FORMAT_F64_OE = SPA_AUDIO_FORMAT_F64_LE
}
 
enum  spa_audio_channel {
  SPA_AUDIO_CHANNEL_UNKNOWN , SPA_AUDIO_CHANNEL_NA , SPA_AUDIO_CHANNEL_MONO , SPA_AUDIO_CHANNEL_FL ,
  SPA_AUDIO_CHANNEL_FR , SPA_AUDIO_CHANNEL_FC , SPA_AUDIO_CHANNEL_LFE , SPA_AUDIO_CHANNEL_SL ,
  SPA_AUDIO_CHANNEL_SR , SPA_AUDIO_CHANNEL_FLC , SPA_AUDIO_CHANNEL_FRC , SPA_AUDIO_CHANNEL_RC ,
  SPA_AUDIO_CHANNEL_RL , SPA_AUDIO_CHANNEL_RR , SPA_AUDIO_CHANNEL_TC , SPA_AUDIO_CHANNEL_TFL ,
  SPA_AUDIO_CHANNEL_TFC , SPA_AUDIO_CHANNEL_TFR , SPA_AUDIO_CHANNEL_TRL , SPA_AUDIO_CHANNEL_TRC ,
  SPA_AUDIO_CHANNEL_TRR , SPA_AUDIO_CHANNEL_RLC , SPA_AUDIO_CHANNEL_RRC , SPA_AUDIO_CHANNEL_FLW ,
  SPA_AUDIO_CHANNEL_FRW , SPA_AUDIO_CHANNEL_LFE2 , SPA_AUDIO_CHANNEL_FLH , SPA_AUDIO_CHANNEL_FCH ,
  SPA_AUDIO_CHANNEL_FRH , SPA_AUDIO_CHANNEL_TFLC , SPA_AUDIO_CHANNEL_TFRC , SPA_AUDIO_CHANNEL_TSL ,
  SPA_AUDIO_CHANNEL_TSR , SPA_AUDIO_CHANNEL_LLFE , SPA_AUDIO_CHANNEL_RLFE , SPA_AUDIO_CHANNEL_BC ,
  SPA_AUDIO_CHANNEL_BLC , SPA_AUDIO_CHANNEL_BRC , SPA_AUDIO_CHANNEL_START_Aux = 0x1000 , SPA_AUDIO_CHANNEL_AUX0 = SPA_AUDIO_CHANNEL_START_Aux ,
  SPA_AUDIO_CHANNEL_AUX1 , SPA_AUDIO_CHANNEL_AUX2 , SPA_AUDIO_CHANNEL_AUX3 , SPA_AUDIO_CHANNEL_AUX4 ,
  SPA_AUDIO_CHANNEL_AUX5 , SPA_AUDIO_CHANNEL_AUX6 , SPA_AUDIO_CHANNEL_AUX7 , SPA_AUDIO_CHANNEL_AUX8 ,
  SPA_AUDIO_CHANNEL_AUX9 , SPA_AUDIO_CHANNEL_AUX10 , SPA_AUDIO_CHANNEL_AUX11 , SPA_AUDIO_CHANNEL_AUX12 ,
  SPA_AUDIO_CHANNEL_AUX13 , SPA_AUDIO_CHANNEL_AUX14 , SPA_AUDIO_CHANNEL_AUX15 , SPA_AUDIO_CHANNEL_AUX16 ,
  SPA_AUDIO_CHANNEL_AUX17 , SPA_AUDIO_CHANNEL_AUX18 , SPA_AUDIO_CHANNEL_AUX19 , SPA_AUDIO_CHANNEL_AUX20 ,
  SPA_AUDIO_CHANNEL_AUX21 , SPA_AUDIO_CHANNEL_AUX22 , SPA_AUDIO_CHANNEL_AUX23 , SPA_AUDIO_CHANNEL_AUX24 ,
  SPA_AUDIO_CHANNEL_AUX25 , SPA_AUDIO_CHANNEL_AUX26 , SPA_AUDIO_CHANNEL_AUX27 , SPA_AUDIO_CHANNEL_AUX28 ,
  SPA_AUDIO_CHANNEL_AUX29 , SPA_AUDIO_CHANNEL_AUX30 , SPA_AUDIO_CHANNEL_AUX31 , SPA_AUDIO_CHANNEL_AUX32 ,
  SPA_AUDIO_CHANNEL_AUX33 , SPA_AUDIO_CHANNEL_AUX34 , SPA_AUDIO_CHANNEL_AUX35 , SPA_AUDIO_CHANNEL_AUX36 ,
  SPA_AUDIO_CHANNEL_AUX37 , SPA_AUDIO_CHANNEL_AUX38 , SPA_AUDIO_CHANNEL_AUX39 , SPA_AUDIO_CHANNEL_AUX40 ,
  SPA_AUDIO_CHANNEL_AUX41 , SPA_AUDIO_CHANNEL_AUX42 , SPA_AUDIO_CHANNEL_AUX43 , SPA_AUDIO_CHANNEL_AUX44 ,
  SPA_AUDIO_CHANNEL_AUX45 , SPA_AUDIO_CHANNEL_AUX46 , SPA_AUDIO_CHANNEL_AUX47 , SPA_AUDIO_CHANNEL_AUX48 ,
  SPA_AUDIO_CHANNEL_AUX49 , SPA_AUDIO_CHANNEL_AUX50 , SPA_AUDIO_CHANNEL_AUX51 , SPA_AUDIO_CHANNEL_AUX52 ,
  SPA_AUDIO_CHANNEL_AUX53 , SPA_AUDIO_CHANNEL_AUX54 , SPA_AUDIO_CHANNEL_AUX55 , SPA_AUDIO_CHANNEL_AUX56 ,
  SPA_AUDIO_CHANNEL_AUX57 , SPA_AUDIO_CHANNEL_AUX58 , SPA_AUDIO_CHANNEL_AUX59 , SPA_AUDIO_CHANNEL_AUX60 ,
  SPA_AUDIO_CHANNEL_AUX61 , SPA_AUDIO_CHANNEL_AUX62 , SPA_AUDIO_CHANNEL_AUX63 , SPA_AUDIO_CHANNEL_LAST_Aux = 0x1fff ,
  SPA_AUDIO_CHANNEL_START_Custom = 0x10000
}
 
enum  spa_audio_volume_ramp_scale { SPA_AUDIO_VOLUME_RAMP_INVALID , SPA_AUDIO_VOLUME_RAMP_LINEAR , SPA_AUDIO_VOLUME_RAMP_CUBIC }
 
enum  spa_bluetooth_audio_codec {
  SPA_BLUETOOTH_AUDIO_CODEC_START , SPA_BLUETOOTH_AUDIO_CODEC_SBC , SPA_BLUETOOTH_AUDIO_CODEC_SBC_XQ , SPA_BLUETOOTH_AUDIO_CODEC_MPEG ,
  SPA_BLUETOOTH_AUDIO_CODEC_AAC , SPA_BLUETOOTH_AUDIO_CODEC_APTX , SPA_BLUETOOTH_AUDIO_CODEC_APTX_HD , SPA_BLUETOOTH_AUDIO_CODEC_LDAC ,
  SPA_BLUETOOTH_AUDIO_CODEC_APTX_LL , SPA_BLUETOOTH_AUDIO_CODEC_APTX_LL_DUPLEX , SPA_BLUETOOTH_AUDIO_CODEC_FASTSTREAM , SPA_BLUETOOTH_AUDIO_CODEC_FASTSTREAM_DUPLEX ,
  SPA_BLUETOOTH_AUDIO_CODEC_LC3PLUS_HR , SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05 , SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_51 , SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_71 ,
  SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_DUPLEX , SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_PRO , SPA_BLUETOOTH_AUDIO_CODEC_CVSD = 0x100 , SPA_BLUETOOTH_AUDIO_CODEC_MSBC ,
  SPA_BLUETOOTH_AUDIO_CODEC_LC3 = 0x200
}
 
enum  spa_param_buffers {
  SPA_PARAM_BUFFERS_START , SPA_PARAM_BUFFERS_buffers , SPA_PARAM_BUFFERS_blocks , SPA_PARAM_BUFFERS_size ,
  SPA_PARAM_BUFFERS_stride , SPA_PARAM_BUFFERS_align , SPA_PARAM_BUFFERS_dataType
}
 properties for SPA_TYPE_OBJECT_ParamBuffers More...
 
enum  spa_param_meta { SPA_PARAM_META_START , SPA_PARAM_META_type , SPA_PARAM_META_size }
 properties for SPA_TYPE_OBJECT_ParamMeta More...
 
enum  spa_param_io { SPA_PARAM_IO_START , SPA_PARAM_IO_id , SPA_PARAM_IO_size }
 properties for SPA_TYPE_OBJECT_ParamIO More...
 
enum  spa_media_type {
  SPA_MEDIA_TYPE_unknown , SPA_MEDIA_TYPE_audio , SPA_MEDIA_TYPE_video , SPA_MEDIA_TYPE_image ,
  SPA_MEDIA_TYPE_binary , SPA_MEDIA_TYPE_stream , SPA_MEDIA_TYPE_application
}
 media type for SPA_TYPE_OBJECT_Format More...
 
enum  spa_media_subtype {
  SPA_MEDIA_SUBTYPE_unknown , SPA_MEDIA_SUBTYPE_raw , SPA_MEDIA_SUBTYPE_dsp , SPA_MEDIA_SUBTYPE_iec958 ,
  SPA_MEDIA_SUBTYPE_dsd , SPA_MEDIA_SUBTYPE_START_Audio = 0x10000 , SPA_MEDIA_SUBTYPE_mp3 , SPA_MEDIA_SUBTYPE_aac ,
  SPA_MEDIA_SUBTYPE_vorbis , SPA_MEDIA_SUBTYPE_wma , SPA_MEDIA_SUBTYPE_ra , SPA_MEDIA_SUBTYPE_sbc ,
  SPA_MEDIA_SUBTYPE_adpcm , SPA_MEDIA_SUBTYPE_g723 , SPA_MEDIA_SUBTYPE_g726 , SPA_MEDIA_SUBTYPE_g729 ,
  SPA_MEDIA_SUBTYPE_amr , SPA_MEDIA_SUBTYPE_gsm , SPA_MEDIA_SUBTYPE_alac , SPA_MEDIA_SUBTYPE_flac ,
  SPA_MEDIA_SUBTYPE_ape , SPA_MEDIA_SUBTYPE_opus , SPA_MEDIA_SUBTYPE_START_Video = 0x20000 , SPA_MEDIA_SUBTYPE_h264 ,
  SPA_MEDIA_SUBTYPE_mjpg , SPA_MEDIA_SUBTYPE_dv , SPA_MEDIA_SUBTYPE_mpegts , SPA_MEDIA_SUBTYPE_h263 ,
  SPA_MEDIA_SUBTYPE_mpeg1 , SPA_MEDIA_SUBTYPE_mpeg2 , SPA_MEDIA_SUBTYPE_mpeg4 , SPA_MEDIA_SUBTYPE_xvid ,
  SPA_MEDIA_SUBTYPE_vc1 , SPA_MEDIA_SUBTYPE_vp8 , SPA_MEDIA_SUBTYPE_vp9 , SPA_MEDIA_SUBTYPE_bayer ,
  SPA_MEDIA_SUBTYPE_START_Image = 0x30000 , SPA_MEDIA_SUBTYPE_jpeg , SPA_MEDIA_SUBTYPE_START_Binary = 0x40000 , SPA_MEDIA_SUBTYPE_START_Stream = 0x50000 ,
  SPA_MEDIA_SUBTYPE_midi , SPA_MEDIA_SUBTYPE_START_Application = 0x60000 , SPA_MEDIA_SUBTYPE_control
}
 media subtype for SPA_TYPE_OBJECT_Format More...
 
enum  spa_format {
  SPA_FORMAT_START , SPA_FORMAT_mediaType , SPA_FORMAT_mediaSubtype , SPA_FORMAT_START_Audio = 0x10000 ,
  SPA_FORMAT_AUDIO_format , SPA_FORMAT_AUDIO_flags , SPA_FORMAT_AUDIO_rate , SPA_FORMAT_AUDIO_channels ,
  SPA_FORMAT_AUDIO_position , SPA_FORMAT_AUDIO_iec958Codec , SPA_FORMAT_AUDIO_bitorder , SPA_FORMAT_AUDIO_interleave ,
  SPA_FORMAT_AUDIO_bitrate , SPA_FORMAT_AUDIO_blockAlign , SPA_FORMAT_AUDIO_AAC_streamFormat , SPA_FORMAT_AUDIO_WMA_profile ,
  SPA_FORMAT_AUDIO_AMR_bandMode , SPA_FORMAT_START_Video = 0x20000 , SPA_FORMAT_VIDEO_format , SPA_FORMAT_VIDEO_modifier ,
  SPA_FORMAT_VIDEO_size , SPA_FORMAT_VIDEO_framerate , SPA_FORMAT_VIDEO_maxFramerate , SPA_FORMAT_VIDEO_views ,
  SPA_FORMAT_VIDEO_interlaceMode , SPA_FORMAT_VIDEO_pixelAspectRatio , SPA_FORMAT_VIDEO_multiviewMode , SPA_FORMAT_VIDEO_multiviewFlags ,
  SPA_FORMAT_VIDEO_chromaSite , SPA_FORMAT_VIDEO_colorRange , SPA_FORMAT_VIDEO_colorMatrix , SPA_FORMAT_VIDEO_transferFunction ,
  SPA_FORMAT_VIDEO_colorPrimaries , SPA_FORMAT_VIDEO_profile , SPA_FORMAT_VIDEO_level , SPA_FORMAT_VIDEO_H264_streamFormat ,
  SPA_FORMAT_VIDEO_H264_alignment , SPA_FORMAT_START_Image = 0x30000 , SPA_FORMAT_START_Binary = 0x40000 , SPA_FORMAT_START_Stream = 0x50000 ,
  SPA_FORMAT_START_Application = 0x60000
}
 properties for audio SPA_TYPE_OBJECT_Format More...
 
enum  spa_param_latency {
  SPA_PARAM_LATENCY_START , SPA_PARAM_LATENCY_direction , SPA_PARAM_LATENCY_minQuantum , SPA_PARAM_LATENCY_maxQuantum ,
  SPA_PARAM_LATENCY_minRate , SPA_PARAM_LATENCY_maxRate , SPA_PARAM_LATENCY_minNs , SPA_PARAM_LATENCY_maxNs
}
 properties for SPA_TYPE_OBJECT_ParamLatency More...
 
enum  spa_param_process_latency { SPA_PARAM_PROCESS_LATENCY_START , SPA_PARAM_PROCESS_LATENCY_quantum , SPA_PARAM_PROCESS_LATENCY_rate , SPA_PARAM_PROCESS_LATENCY_ns }
 properties for SPA_TYPE_OBJECT_ParamProcessLatency More...
 
enum  spa_param_type {
  SPA_PARAM_Invalid , SPA_PARAM_PropInfo , SPA_PARAM_Props , SPA_PARAM_EnumFormat ,
  SPA_PARAM_Format , SPA_PARAM_Buffers , SPA_PARAM_Meta , SPA_PARAM_IO ,
  SPA_PARAM_EnumProfile , SPA_PARAM_Profile , SPA_PARAM_EnumPortConfig , SPA_PARAM_PortConfig ,
  SPA_PARAM_EnumRoute , SPA_PARAM_Route , SPA_PARAM_Control , SPA_PARAM_Latency ,
  SPA_PARAM_ProcessLatency , SPA_PARAM_Tag
}
 different parameter types that can be queried More...
 
enum  spa_param_bitorder { SPA_PARAM_BITORDER_unknown , SPA_PARAM_BITORDER_msb , SPA_PARAM_BITORDER_lsb }
 
enum  spa_param_availability { SPA_PARAM_AVAILABILITY_unknown , SPA_PARAM_AVAILABILITY_no , SPA_PARAM_AVAILABILITY_yes }
 
enum  spa_param_port_config_mode { SPA_PARAM_PORT_CONFIG_MODE_none , SPA_PARAM_PORT_CONFIG_MODE_passthrough , SPA_PARAM_PORT_CONFIG_MODE_convert , SPA_PARAM_PORT_CONFIG_MODE_dsp }
 
enum  spa_param_port_config {
  SPA_PARAM_PORT_CONFIG_START , SPA_PARAM_PORT_CONFIG_direction , SPA_PARAM_PORT_CONFIG_mode , SPA_PARAM_PORT_CONFIG_monitor ,
  SPA_PARAM_PORT_CONFIG_control , SPA_PARAM_PORT_CONFIG_format
}
 properties for SPA_TYPE_OBJECT_ParamPortConfig More...
 
enum  spa_param_profile {
  SPA_PARAM_PROFILE_START , SPA_PARAM_PROFILE_index , SPA_PARAM_PROFILE_name , SPA_PARAM_PROFILE_description ,
  SPA_PARAM_PROFILE_priority , SPA_PARAM_PROFILE_available , SPA_PARAM_PROFILE_info , SPA_PARAM_PROFILE_classes ,
  SPA_PARAM_PROFILE_save
}
 properties for SPA_TYPE_OBJECT_ParamProfile More...
 
enum  spa_profiler {
  SPA_PROFILER_START , SPA_PROFILER_START_Driver = 0x10000 , SPA_PROFILER_info , SPA_PROFILER_clock ,
  SPA_PROFILER_driverBlock , SPA_PROFILER_START_Follower = 0x20000 , SPA_PROFILER_followerBlock , SPA_PROFILER_START_CUSTOM = 0x1000000
}
 properties for SPA_TYPE_OBJECT_Profiler More...
 
enum  spa_prop_info {
  SPA_PROP_INFO_START , SPA_PROP_INFO_id , SPA_PROP_INFO_name , SPA_PROP_INFO_type ,
  SPA_PROP_INFO_labels , SPA_PROP_INFO_container , SPA_PROP_INFO_params , SPA_PROP_INFO_description
}
 properties of SPA_TYPE_OBJECT_PropInfo More...
 
enum  spa_prop {
  SPA_PROP_START , SPA_PROP_unknown , SPA_PROP_START_Device = 0x100 , SPA_PROP_device ,
  SPA_PROP_deviceName , SPA_PROP_deviceFd , SPA_PROP_card , SPA_PROP_cardName ,
  SPA_PROP_minLatency , SPA_PROP_maxLatency , SPA_PROP_periods , SPA_PROP_periodSize ,
  SPA_PROP_periodEvent , SPA_PROP_live , SPA_PROP_rate , SPA_PROP_quality ,
  SPA_PROP_bluetoothAudioCodec , SPA_PROP_bluetoothOffloadActive , SPA_PROP_START_Audio = 0x10000 , SPA_PROP_waveType ,
  SPA_PROP_frequency , SPA_PROP_volume , SPA_PROP_mute , SPA_PROP_patternType ,
  SPA_PROP_ditherType , SPA_PROP_truncate , SPA_PROP_channelVolumes , SPA_PROP_volumeBase ,
  SPA_PROP_volumeStep , SPA_PROP_channelMap , SPA_PROP_monitorMute , SPA_PROP_monitorVolumes ,
  SPA_PROP_latencyOffsetNsec , SPA_PROP_softMute , SPA_PROP_softVolumes , SPA_PROP_iec958Codecs ,
  SPA_PROP_volumeRampSamples , SPA_PROP_volumeRampStepSamples , SPA_PROP_volumeRampTime , SPA_PROP_volumeRampStepTime ,
  SPA_PROP_volumeRampScale , SPA_PROP_START_Video = 0x20000 , SPA_PROP_brightness , SPA_PROP_contrast ,
  SPA_PROP_saturation , SPA_PROP_hue , SPA_PROP_gamma , SPA_PROP_exposure ,
  SPA_PROP_gain , SPA_PROP_sharpness , SPA_PROP_START_Other = 0x80000 , SPA_PROP_params ,
  SPA_PROP_START_CUSTOM = 0x1000000
}
 predefined properties for SPA_TYPE_OBJECT_Props More...
 
enum  spa_param_route {
  SPA_PARAM_ROUTE_START , SPA_PARAM_ROUTE_index , SPA_PARAM_ROUTE_direction , SPA_PARAM_ROUTE_device ,
  SPA_PARAM_ROUTE_name , SPA_PARAM_ROUTE_description , SPA_PARAM_ROUTE_priority , SPA_PARAM_ROUTE_available ,
  SPA_PARAM_ROUTE_info , SPA_PARAM_ROUTE_profiles , SPA_PARAM_ROUTE_props , SPA_PARAM_ROUTE_devices ,
  SPA_PARAM_ROUTE_profile , SPA_PARAM_ROUTE_save
}
 properties for SPA_TYPE_OBJECT_ParamRoute More...
 
enum  spa_param_tag { SPA_PARAM_TAG_START , SPA_PARAM_TAG_direction , SPA_PARAM_TAG_info }
 properties for SPA_TYPE_OBJECT_ParamTag More...
 
enum  spa_video_chroma_site {
  SPA_VIDEO_CHROMA_SITE_UNKNOWN = 0 , SPA_VIDEO_CHROMA_SITE_NONE = (1 << 0) , SPA_VIDEO_CHROMA_SITE_H_COSITED = (1 << 1) , SPA_VIDEO_CHROMA_SITE_V_COSITED = (1 << 2) ,
  SPA_VIDEO_CHROMA_SITE_ALT_LINE = (1 << 3) , SPA_VIDEO_CHROMA_SITE_COSITED = (SPA_VIDEO_CHROMA_SITE_H_COSITED | SPA_VIDEO_CHROMA_SITE_V_COSITED) , SPA_VIDEO_CHROMA_SITE_JPEG = (SPA_VIDEO_CHROMA_SITE_NONE) , SPA_VIDEO_CHROMA_SITE_MPEG2 = (SPA_VIDEO_CHROMA_SITE_H_COSITED) ,
  SPA_VIDEO_CHROMA_SITE_DV = (SPA_VIDEO_CHROMA_SITE_COSITED | SPA_VIDEO_CHROMA_SITE_ALT_LINE)
}
 Various Chroma settings. More...
 
enum  spa_video_color_range { SPA_VIDEO_COLOR_RANGE_UNKNOWN = 0 , SPA_VIDEO_COLOR_RANGE_0_255 , SPA_VIDEO_COLOR_RANGE_16_235 }
 Possible color range values. More...
 
enum  spa_video_color_matrix {
  SPA_VIDEO_COLOR_MATRIX_UNKNOWN = 0 , SPA_VIDEO_COLOR_MATRIX_RGB , SPA_VIDEO_COLOR_MATRIX_FCC , SPA_VIDEO_COLOR_MATRIX_BT709 ,
  SPA_VIDEO_COLOR_MATRIX_BT601 , SPA_VIDEO_COLOR_MATRIX_SMPTE240M , SPA_VIDEO_COLOR_MATRIX_BT2020
}
 The color matrix is used to convert between Y'PbPr and non-linear RGB (R'G'B') More...
 
enum  spa_video_transfer_function {
  SPA_VIDEO_TRANSFER_UNKNOWN = 0 , SPA_VIDEO_TRANSFER_GAMMA10 , SPA_VIDEO_TRANSFER_GAMMA18 , SPA_VIDEO_TRANSFER_GAMMA20 ,
  SPA_VIDEO_TRANSFER_GAMMA22 , SPA_VIDEO_TRANSFER_BT709 , SPA_VIDEO_TRANSFER_SMPTE240M , SPA_VIDEO_TRANSFER_SRGB ,
  SPA_VIDEO_TRANSFER_GAMMA28 , SPA_VIDEO_TRANSFER_LOG100 , SPA_VIDEO_TRANSFER_LOG316 , SPA_VIDEO_TRANSFER_BT2020_12 ,
  SPA_VIDEO_TRANSFER_ADOBERGB
}
 The video transfer function defines the formula for converting between non-linear RGB (R'G'B') and linear RGB. More...
 
enum  spa_video_color_primaries {
  SPA_VIDEO_COLOR_PRIMARIES_UNKNOWN = 0 , SPA_VIDEO_COLOR_PRIMARIES_BT709 , SPA_VIDEO_COLOR_PRIMARIES_BT470M , SPA_VIDEO_COLOR_PRIMARIES_BT470BG ,
  SPA_VIDEO_COLOR_PRIMARIES_SMPTE170M , SPA_VIDEO_COLOR_PRIMARIES_SMPTE240M , SPA_VIDEO_COLOR_PRIMARIES_FILM , SPA_VIDEO_COLOR_PRIMARIES_BT2020 ,
  SPA_VIDEO_COLOR_PRIMARIES_ADOBERGB
}
 The color primaries define the how to transform linear RGB values to and from the CIE XYZ colorspace. More...
 
enum  spa_h264_stream_format { SPA_H264_STREAM_FORMAT_UNKNOWN = 0 , SPA_H264_STREAM_FORMAT_AVC , SPA_H264_STREAM_FORMAT_AVC3 , SPA_H264_STREAM_FORMAT_BYTESTREAM }
 
enum  spa_h264_alignment { SPA_H264_ALIGNMENT_UNKNOWN = 0 , SPA_H264_ALIGNMENT_AU , SPA_H264_ALIGNMENT_NAL }
 
enum  spa_video_multiview_mode {
  SPA_VIDEO_MULTIVIEW_MODE_NONE = -1 , SPA_VIDEO_MULTIVIEW_MODE_MONO = 0 , SPA_VIDEO_MULTIVIEW_MODE_LEFT , SPA_VIDEO_MULTIVIEW_MODE_RIGHT ,
  SPA_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE , SPA_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE_QUINCUNX , SPA_VIDEO_MULTIVIEW_MODE_COLUMN_INTERLEAVED , SPA_VIDEO_MULTIVIEW_MODE_ROW_INTERLEAVED ,
  SPA_VIDEO_MULTIVIEW_MODE_TOP_BOTTOM , SPA_VIDEO_MULTIVIEW_MODE_CHECKERBOARD , SPA_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME = 32 , SPA_VIDEO_MULTIVIEW_MODE_MULTIVIEW_FRAME_BY_FRAME ,
  SPA_VIDEO_MULTIVIEW_MODE_SEPARATED
}
 All possible stereoscopic 3D and multiview representations. More...
 
enum  spa_video_multiview_flags {
  SPA_VIDEO_MULTIVIEW_FLAGS_NONE = 0 , SPA_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST = (1 << 0) , SPA_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED = (1 << 1) , SPA_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED = (1 << 2) ,
  SPA_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED = (1 << 3) , SPA_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED = (1 << 4) , SPA_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT = (1 << 14) , SPA_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO = (1 << 15)
}
 spa_video_multiview_flags are used to indicate extra properties of a stereo/multiview stream beyond the frame layout and buffer mapping that is conveyed in the spa_video_multiview_mode. More...
 
enum  spa_video_format {
  SPA_VIDEO_FORMAT_UNKNOWN , SPA_VIDEO_FORMAT_ENCODED , SPA_VIDEO_FORMAT_I420 , SPA_VIDEO_FORMAT_YV12 ,
  SPA_VIDEO_FORMAT_YUY2 , SPA_VIDEO_FORMAT_UYVY , SPA_VIDEO_FORMAT_AYUV , SPA_VIDEO_FORMAT_RGBx ,
  SPA_VIDEO_FORMAT_BGRx , SPA_VIDEO_FORMAT_xRGB , SPA_VIDEO_FORMAT_xBGR , SPA_VIDEO_FORMAT_RGBA ,
  SPA_VIDEO_FORMAT_BGRA , SPA_VIDEO_FORMAT_ARGB , SPA_VIDEO_FORMAT_ABGR , SPA_VIDEO_FORMAT_RGB ,
  SPA_VIDEO_FORMAT_BGR , SPA_VIDEO_FORMAT_Y41B , SPA_VIDEO_FORMAT_Y42B , SPA_VIDEO_FORMAT_YVYU ,
  SPA_VIDEO_FORMAT_Y444 , SPA_VIDEO_FORMAT_v210 , SPA_VIDEO_FORMAT_v216 , SPA_VIDEO_FORMAT_NV12 ,
  SPA_VIDEO_FORMAT_NV21 , SPA_VIDEO_FORMAT_GRAY8 , SPA_VIDEO_FORMAT_GRAY16_BE , SPA_VIDEO_FORMAT_GRAY16_LE ,
  SPA_VIDEO_FORMAT_v308 , SPA_VIDEO_FORMAT_RGB16 , SPA_VIDEO_FORMAT_BGR16 , SPA_VIDEO_FORMAT_RGB15 ,
  SPA_VIDEO_FORMAT_BGR15 , SPA_VIDEO_FORMAT_UYVP , SPA_VIDEO_FORMAT_A420 , SPA_VIDEO_FORMAT_RGB8P ,
  SPA_VIDEO_FORMAT_YUV9 , SPA_VIDEO_FORMAT_YVU9 , SPA_VIDEO_FORMAT_IYU1 , SPA_VIDEO_FORMAT_ARGB64 ,
  SPA_VIDEO_FORMAT_AYUV64 , SPA_VIDEO_FORMAT_r210 , SPA_VIDEO_FORMAT_I420_10BE , SPA_VIDEO_FORMAT_I420_10LE ,
  SPA_VIDEO_FORMAT_I422_10BE , SPA_VIDEO_FORMAT_I422_10LE , SPA_VIDEO_FORMAT_Y444_10BE , SPA_VIDEO_FORMAT_Y444_10LE ,
  SPA_VIDEO_FORMAT_GBR , SPA_VIDEO_FORMAT_GBR_10BE , SPA_VIDEO_FORMAT_GBR_10LE , SPA_VIDEO_FORMAT_NV16 ,
  SPA_VIDEO_FORMAT_NV24 , SPA_VIDEO_FORMAT_NV12_64Z32 , SPA_VIDEO_FORMAT_A420_10BE , SPA_VIDEO_FORMAT_A420_10LE ,
  SPA_VIDEO_FORMAT_A422_10BE , SPA_VIDEO_FORMAT_A422_10LE , SPA_VIDEO_FORMAT_A444_10BE , SPA_VIDEO_FORMAT_A444_10LE ,
  SPA_VIDEO_FORMAT_NV61 , SPA_VIDEO_FORMAT_P010_10BE , SPA_VIDEO_FORMAT_P010_10LE , SPA_VIDEO_FORMAT_IYU2 ,
  SPA_VIDEO_FORMAT_VYUY , SPA_VIDEO_FORMAT_GBRA , SPA_VIDEO_FORMAT_GBRA_10BE , SPA_VIDEO_FORMAT_GBRA_10LE ,
  SPA_VIDEO_FORMAT_GBR_12BE , SPA_VIDEO_FORMAT_GBR_12LE , SPA_VIDEO_FORMAT_GBRA_12BE , SPA_VIDEO_FORMAT_GBRA_12LE ,
  SPA_VIDEO_FORMAT_I420_12BE , SPA_VIDEO_FORMAT_I420_12LE , SPA_VIDEO_FORMAT_I422_12BE , SPA_VIDEO_FORMAT_I422_12LE ,
  SPA_VIDEO_FORMAT_Y444_12BE , SPA_VIDEO_FORMAT_Y444_12LE , SPA_VIDEO_FORMAT_RGBA_F16 , SPA_VIDEO_FORMAT_RGBA_F32 ,
  SPA_VIDEO_FORMAT_xRGB_210LE , SPA_VIDEO_FORMAT_xBGR_210LE , SPA_VIDEO_FORMAT_RGBx_102LE , SPA_VIDEO_FORMAT_BGRx_102LE ,
  SPA_VIDEO_FORMAT_ARGB_210LE , SPA_VIDEO_FORMAT_ABGR_210LE , SPA_VIDEO_FORMAT_RGBA_102LE , SPA_VIDEO_FORMAT_BGRA_102LE ,
  SPA_VIDEO_FORMAT_DSP_F32 = SPA_VIDEO_FORMAT_RGBA_F32
}
 Video formats. More...
 
enum  spa_video_flags {
  SPA_VIDEO_FLAG_NONE = 0 , SPA_VIDEO_FLAG_VARIABLE_FPS = (1 << 0) , SPA_VIDEO_FLAG_PREMULTIPLIED_ALPHA = (1 << 1) , SPA_VIDEO_FLAG_MODIFIER = (1 << 2) ,
  SPA_VIDEO_FLAG_MODIFIER_FIXATION_REQUIRED = (1 << 3)
}
 Extra video flags. More...
 
enum  spa_video_interlace_mode { SPA_VIDEO_INTERLACE_MODE_PROGRESSIVE = 0 , SPA_VIDEO_INTERLACE_MODE_INTERLEAVED , SPA_VIDEO_INTERLACE_MODE_MIXED , SPA_VIDEO_INTERLACE_MODE_FIELDS }
 The possible values of the spa_video_interlace_mode describing the interlace mode of the stream. More...
 

Macros

#define SPA_AUDIO_DSD_FLAG_NONE   (0) /*< no valid flag */
 Extra DSD audio flags.
 
#define SPA_AUDIO_INFO_DSD_INIT(...)   ((struct spa_audio_info_dsd) { __VA_ARGS__ })
 
#define SPA_AUDIO_INFO_IEC958_INIT(...)   ((struct spa_audio_info_iec958) { __VA_ARGS__ })
 
#define SPA_AUDIO_LAYOUT_Mono   1, { SPA_AUDIO_CHANNEL_MONO, }
 
#define SPA_AUDIO_LAYOUT_Stereo   2, { SPA_AUDIO_CHANNEL_FL, SPA_AUDIO_CHANNEL_FR, }
 
#define SPA_AUDIO_LAYOUT_Quad
 
#define SPA_AUDIO_LAYOUT_Pentagonal
 
#define SPA_AUDIO_LAYOUT_Hexagonal
 
#define SPA_AUDIO_LAYOUT_Octagonal
 
#define SPA_AUDIO_LAYOUT_Cube
 
#define SPA_AUDIO_LAYOUT_MPEG_1_0   SPA_AUDIO_LAYOUT_Mono
 
#define SPA_AUDIO_LAYOUT_MPEG_2_0   SPA_AUDIO_LAYOUT_Stereo
 
#define SPA_AUDIO_LAYOUT_MPEG_3_0A
 
#define SPA_AUDIO_LAYOUT_MPEG_3_0B
 
#define SPA_AUDIO_LAYOUT_MPEG_4_0A
 
#define SPA_AUDIO_LAYOUT_MPEG_4_0B
 
#define SPA_AUDIO_LAYOUT_MPEG_5_0A
 
#define SPA_AUDIO_LAYOUT_MPEG_5_0B
 
#define SPA_AUDIO_LAYOUT_MPEG_5_0C
 
#define SPA_AUDIO_LAYOUT_MPEG_5_0D
 
#define SPA_AUDIO_LAYOUT_MPEG_5_1A
 
#define SPA_AUDIO_LAYOUT_MPEG_5_1B
 
#define SPA_AUDIO_LAYOUT_MPEG_5_1C
 
#define SPA_AUDIO_LAYOUT_MPEG_5_1D
 
#define SPA_AUDIO_LAYOUT_MPEG_6_1A
 
#define SPA_AUDIO_LAYOUT_MPEG_7_1A
 
#define SPA_AUDIO_LAYOUT_MPEG_7_1B
 
#define SPA_AUDIO_LAYOUT_MPEG_7_1C
 
#define SPA_AUDIO_LAYOUT_2_1
 
#define SPA_AUDIO_LAYOUT_2RC
 
#define SPA_AUDIO_LAYOUT_2FC
 
#define SPA_AUDIO_LAYOUT_3_1
 
#define SPA_AUDIO_LAYOUT_4_0
 
#define SPA_AUDIO_LAYOUT_2_2
 
#define SPA_AUDIO_LAYOUT_4_1
 
#define SPA_AUDIO_LAYOUT_5_0
 
#define SPA_AUDIO_LAYOUT_5_0R
 
#define SPA_AUDIO_LAYOUT_5_1
 
#define SPA_AUDIO_LAYOUT_5_1R
 
#define SPA_AUDIO_LAYOUT_6_0
 
#define SPA_AUDIO_LAYOUT_6_0F
 
#define SPA_AUDIO_LAYOUT_6_1
 
#define SPA_AUDIO_LAYOUT_6_1F
 
#define SPA_AUDIO_LAYOUT_7_0
 
#define SPA_AUDIO_LAYOUT_7_0F
 
#define SPA_AUDIO_LAYOUT_7_1
 
#define SPA_AUDIO_LAYOUT_7_1W
 
#define SPA_AUDIO_LAYOUT_7_1WR
 
#define SPA_TYPE_INFO_AudioFormat   SPA_TYPE_INFO_ENUM_BASE "AudioFormat"
 
#define SPA_TYPE_INFO_AUDIO_FORMAT_BASE   SPA_TYPE_INFO_AudioFormat ":"
 
#define SPA_TYPE_INFO_AudioFlags   SPA_TYPE_INFO_FLAGS_BASE "AudioFlags"
 
#define SPA_TYPE_INFO_AUDIO_FLAGS_BASE   SPA_TYPE_INFO_AudioFlags ":"
 
#define SPA_TYPE_INFO_AudioChannel   SPA_TYPE_INFO_ENUM_BASE "AudioChannel"
 
#define SPA_TYPE_INFO_AUDIO_CHANNEL_BASE   SPA_TYPE_INFO_AudioChannel ":"
 
#define SPA_AUDIO_MAX_CHANNELS   64u
 
#define SPA_AUDIO_FORMAT_IS_INTERLEAVED(fmt)   ((fmt) > SPA_AUDIO_FORMAT_START_Interleaved && (fmt) < SPA_AUDIO_FORMAT_START_Planar)
 
#define SPA_AUDIO_FORMAT_IS_PLANAR(fmt)   ((fmt) > SPA_AUDIO_FORMAT_START_Planar && (fmt) < SPA_AUDIO_FORMAT_START_Other)
 
#define SPA_AUDIO_FLAG_NONE   (0) /*< no valid flag */
 Extra audio flags.
 
#define SPA_AUDIO_FLAG_UNPOSITIONED
 
#define SPA_AUDIO_INFO_RAW_INIT(...)   ((struct spa_audio_info_raw) { __VA_ARGS__ })
 
#define SPA_KEY_AUDIO_FORMAT   "audio.format"
 an audio format as string, Ex.
 
#define SPA_KEY_AUDIO_CHANNEL   "audio.channel"
 an audio channel as string, Ex.
 
#define SPA_KEY_AUDIO_CHANNELS   "audio.channels"
 an audio channel count as int
 
#define SPA_KEY_AUDIO_RATE   "audio.rate"
 an audio sample rate as int
 
#define SPA_KEY_AUDIO_POSITION   "audio.position"
 channel positions as comma separated list of channels ex.
 
#define SPA_KEY_AUDIO_ALLOWED_RATES   "audio.allowed-rates"
 a list of allowed samplerates ex.
 
#define SPA_TYPE_INFO_BluetoothAudioCodec   SPA_TYPE_INFO_ENUM_BASE "BluetoothAudioCodec"
 
#define SPA_TYPE_INFO_BLUETOOTH_AUDIO_CODEC_BASE   SPA_TYPE_INFO_BluetoothAudioCodec ":"
 
#define SPA_TYPE_INFO_PARAM_Meta   SPA_TYPE_INFO_PARAM_BASE "Meta"
 
#define SPA_TYPE_INFO_PARAM_META_BASE   SPA_TYPE_INFO_PARAM_Meta ":"
 
#define SPA_TYPE_INFO_PARAM_IO   SPA_TYPE_INFO_PARAM_BASE "IO"
 Base for parameters that describe IO areas to exchange data, control and properties with a node.
 
#define SPA_TYPE_INFO_PARAM_IO_BASE   SPA_TYPE_INFO_PARAM_IO ":"
 
#define SPA_TYPE_INFO_PARAM_Buffers   SPA_TYPE_INFO_PARAM_BASE "Buffers"
 
#define SPA_TYPE_INFO_PARAM_BUFFERS_BASE   SPA_TYPE_INFO_PARAM_Buffers ":"
 
#define SPA_TYPE_INFO_PARAM_BlockInfo   SPA_TYPE_INFO_PARAM_BUFFERS_BASE "BlockInfo"
 
#define SPA_TYPE_INFO_PARAM_BLOCK_INFO_BASE   SPA_TYPE_INFO_PARAM_BlockInfo ":"
 
#define SPA_TYPE_INFO_Format   SPA_TYPE_INFO_PARAM_BASE "Format"
 
#define SPA_TYPE_INFO_FORMAT_BASE   SPA_TYPE_INFO_Format ":"
 
#define SPA_TYPE_INFO_MediaType   SPA_TYPE_INFO_ENUM_BASE "MediaType"
 
#define SPA_TYPE_INFO_MEDIA_TYPE_BASE   SPA_TYPE_INFO_MediaType ":"
 
#define SPA_TYPE_INFO_MediaSubtype   SPA_TYPE_INFO_ENUM_BASE "MediaSubtype"
 
#define SPA_TYPE_INFO_MEDIA_SUBTYPE_BASE   SPA_TYPE_INFO_MediaSubtype ":"
 
#define SPA_TYPE_INFO_FormatAudio   SPA_TYPE_INFO_FORMAT_BASE "Audio"
 
#define SPA_TYPE_INFO_FORMAT_AUDIO_BASE   SPA_TYPE_INFO_FormatAudio ":"
 
#define SPA_TYPE_INFO_FORMAT_AUDIO_AAC   SPA_TYPE_INFO_FORMAT_AUDIO_BASE "AAC"
 
#define SPA_TYPE_INFO_FORMAT_AUDIO_AAC_BASE   SPA_TYPE_INFO_FORMAT_AUDIO_AAC ":"
 
#define SPA_TYPE_INFO_FORMAT_AUDIO_WMA   SPA_TYPE_INFO_FORMAT_AUDIO_BASE "WMA"
 
#define SPA_TYPE_INFO_FORMAT_AUDIO_WMA_BASE   SPA_TYPE_INFO_FORMAT_AUDIO_WMA ":"
 
#define SPA_TYPE_INFO_FORMAT_AUDIO_AMR   SPA_TYPE_INFO_FORMAT_AUDIO_BASE "AMR"
 
#define SPA_TYPE_INFO_FORMAT_AUDIO_AMR_BASE   SPA_TYPE_INFO_FORMAT_AUDIO_AMR ":"
 
#define SPA_TYPE_INFO_FormatVideo   SPA_TYPE_INFO_FORMAT_BASE "Video"
 
#define SPA_TYPE_INFO_FORMAT_VIDEO_BASE   SPA_TYPE_INFO_FormatVideo ":"
 
#define SPA_TYPE_INFO_FORMAT_VIDEO_H264   SPA_TYPE_INFO_FORMAT_VIDEO_BASE "H264"
 
#define SPA_TYPE_INFO_FORMAT_VIDEO_H264_BASE   SPA_TYPE_INFO_FORMAT_VIDEO_H264 ":"
 
#define SPA_KEY_FORMAT_DSP   "format.dsp"
 a predefined DSP format, Ex.
 
#define SPA_TYPE_INFO_PARAM_Latency   SPA_TYPE_INFO_PARAM_BASE "Latency"
 
#define SPA_TYPE_INFO_PARAM_LATENCY_BASE   SPA_TYPE_INFO_PARAM_Latency ":"
 
#define SPA_TYPE_INFO_PARAM_ProcessLatency   SPA_TYPE_INFO_PARAM_BASE "ProcessLatency"
 
#define SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE   SPA_TYPE_INFO_PARAM_ProcessLatency ":"
 
#define SPA_LATENCY_INFO(dir, ...)   ((struct spa_latency_info) { .direction = (dir), ## __VA_ARGS__ })
 
#define SPA_PROCESS_LATENCY_INFO_INIT(...)   ((struct spa_process_latency_info) { __VA_ARGS__ })
 
#define SPA_TYPE_INFO_ParamId   SPA_TYPE_INFO_ENUM_BASE "ParamId"
 
#define SPA_TYPE_INFO_PARAM_ID_BASE   SPA_TYPE_INFO_ParamId ":"
 
#define SPA_TYPE_INFO_Param   SPA_TYPE_INFO_OBJECT_BASE "Param"
 
#define SPA_TYPE_INFO_PARAM_BASE   SPA_TYPE_INFO_Param ":"
 
#define SPA_TYPE_INFO_ParamBitorder   SPA_TYPE_INFO_ENUM_BASE "ParamBitorder"
 
#define SPA_TYPE_INFO_PARAM_BITORDER_BASE   SPA_TYPE_INFO_ParamBitorder ":"
 
#define SPA_TYPE_INFO_ParamAvailability   SPA_TYPE_INFO_ENUM_BASE "ParamAvailability"
 
#define SPA_TYPE_INFO_PARAM_AVAILABILITY_BASE   SPA_TYPE_INFO_ParamAvailability ":"
 
#define SPA_PARAM_INFO_SERIAL   (1<<0)
 bit to signal update even when the read/write flags don't change
 
#define SPA_PARAM_INFO_READ   (1<<1)
 
#define SPA_PARAM_INFO_WRITE   (1<<2)
 
#define SPA_PARAM_INFO_READWRITE   (SPA_PARAM_INFO_WRITE|SPA_PARAM_INFO_READ)
 
#define SPA_PARAM_INFO(id, flags)   ((struct spa_param_info){ (id), (flags) })
 
#define SPA_TYPE_INFO_ParamPortConfigMode   SPA_TYPE_INFO_ENUM_BASE "ParamPortConfigMode"
 
#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE   SPA_TYPE_INFO_ParamPortConfigMode ":"
 
#define SPA_TYPE_INFO_PARAM_PortConfig   SPA_TYPE_INFO_PARAM_BASE "PortConfig"
 
#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE   SPA_TYPE_INFO_PARAM_PortConfig ":"
 
#define SPA_TYPE_INFO_PARAM_Profile   SPA_TYPE_INFO_PARAM_BASE "Profile"
 
#define SPA_TYPE_INFO_PARAM_PROFILE_BASE   SPA_TYPE_INFO_PARAM_Profile ":"
 
#define SPA_TYPE_INFO_Profiler   SPA_TYPE_INFO_OBJECT_BASE "Profiler"
 
#define SPA_TYPE_INFO_PROFILER_BASE   SPA_TYPE_INFO_Profiler ":"
 
#define SPA_TYPE_INFO_Props   SPA_TYPE_INFO_PARAM_BASE "Props"
 Props Param.
 
#define SPA_TYPE_INFO_PROPS_BASE   SPA_TYPE_INFO_Props ":"
 
#define SPA_TYPE_INFO_PropInfo   SPA_TYPE_INFO_PARAM_BASE "PropInfo"
 Enum Property info.
 
#define SPA_TYPE_INFO_PROP_INFO_BASE   SPA_TYPE_INFO_PropInfo ":"
 
#define SPA_TYPE_INFO_PARAM_Route   SPA_TYPE_INFO_PARAM_BASE "Route"
 
#define SPA_TYPE_INFO_PARAM_ROUTE_BASE   SPA_TYPE_INFO_PARAM_Route ":"
 
#define SPA_TYPE_INFO_PARAM_Tag   SPA_TYPE_INFO_PARAM_BASE "Tag"
 
#define SPA_TYPE_INFO_PARAM_TAG_BASE   SPA_TYPE_INFO_PARAM_Tag ":"
 
#define SPA_TAG_INFO(dir, ...)   ((struct spa_tag_info) { .direction = (dir), ## __VA_ARGS__ })
 
#define SPA_VIDEO_INFO_DSP_INIT(...)   ((struct spa_video_info_dsp) { __VA_ARGS__ })
 
#define SPA_TYPE_INFO_VideoFormat   SPA_TYPE_INFO_ENUM_BASE "VideoFormat"
 
#define SPA_TYPE_INFO_VIDEO_FORMAT_BASE   SPA_TYPE_INFO_VideoFormat ":"
 
#define SPA_TYPE_INFO_VideoFlags   SPA_TYPE_INFO_FLAGS_BASE "VideoFlags"
 
#define SPA_TYPE_INFO_VIDEO_FLAGS_BASE   SPA_TYPE_INFO_VideoFlags ":"
 
#define SPA_TYPE_INFO_VideoInterlaceMode   SPA_TYPE_INFO_ENUM_BASE "VideoInterlaceMode"
 
#define SPA_TYPE_INFO_VIDEO_INTERLACE_MODE_BASE   SPA_TYPE_INFO_VideoInterlaceMode ":"
 
#define SPA_VIDEO_MAX_PLANES   4
 
#define SPA_VIDEO_MAX_COMPONENTS   4
 
#define SPA_VIDEO_INFO_RAW_INIT(...)   ((struct spa_video_info_raw) { __VA_ARGS__ })
 

Functions

static int spa_format_audio_aac_parse (const struct spa_pod *format, struct spa_audio_info_aac *info)
 
static struct spa_podspa_format_audio_aac_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_aac *info)
 
static int spa_format_audio_alac_parse (const struct spa_pod *format, struct spa_audio_info_alac *info)
 
static struct spa_podspa_format_audio_alac_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_alac *info)
 
static int spa_format_audio_amr_parse (const struct spa_pod *format, struct spa_audio_info_amr *info)
 
static struct spa_podspa_format_audio_amr_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_amr *info)
 
static int spa_format_audio_ape_parse (const struct spa_pod *format, struct spa_audio_info_ape *info)
 
static struct spa_podspa_format_audio_ape_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_ape *info)
 
static int spa_format_audio_dsd_parse (const struct spa_pod *format, struct spa_audio_info_dsd *info)
 
static struct spa_podspa_format_audio_dsd_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_dsd *info)
 
static int spa_format_audio_dsp_parse (const struct spa_pod *format, struct spa_audio_info_dsp *info)
 
static struct spa_podspa_format_audio_dsp_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_dsp *info)
 
static int spa_format_audio_flac_parse (const struct spa_pod *format, struct spa_audio_info_flac *info)
 
static struct spa_podspa_format_audio_flac_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_flac *info)
 
static int spa_format_audio_parse (const struct spa_pod *format, struct spa_audio_info *info)
 
static struct spa_podspa_format_audio_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info *info)
 
static int spa_format_audio_iec958_parse (const struct spa_pod *format, struct spa_audio_info_iec958 *info)
 
static struct spa_podspa_format_audio_iec958_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_iec958 *info)
 
static int spa_format_audio_mp3_parse (const struct spa_pod *format, struct spa_audio_info_mp3 *info)
 
static struct spa_podspa_format_audio_mp3_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_mp3 *info)
 
static int spa_format_audio_ra_parse (const struct spa_pod *format, struct spa_audio_info_ra *info)
 
static struct spa_podspa_format_audio_ra_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_ra *info)
 
static int spa_format_audio_raw_parse (const struct spa_pod *format, struct spa_audio_info_raw *info)
 
static struct spa_podspa_format_audio_raw_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_raw *info)
 
static int spa_format_audio_vorbis_parse (const struct spa_pod *format, struct spa_audio_info_vorbis *info)
 
static struct spa_podspa_format_audio_vorbis_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_vorbis *info)
 
static int spa_format_audio_wma_parse (const struct spa_pod *format, struct spa_audio_info_wma *info)
 
static struct spa_podspa_format_audio_wma_build (struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_wma *info)
 
static int spa_format_parse (const struct spa_pod *format, uint32_t *media_type, uint32_t *media_subtype)
 
static int spa_latency_info_compare (const struct spa_latency_info *a, const struct spa_latency_info *b)
 
static void spa_latency_info_combine_start (struct spa_latency_info *info, enum spa_direction direction)
 
static void spa_latency_info_combine_finish (struct spa_latency_info *info)
 
static int spa_latency_info_combine (struct spa_latency_info *info, const struct spa_latency_info *other)
 
static int spa_latency_parse (const struct spa_pod *latency, struct spa_latency_info *info)
 
static struct spa_podspa_latency_build (struct spa_pod_builder *builder, uint32_t id, const struct spa_latency_info *info)
 
static int spa_process_latency_parse (const struct spa_pod *latency, struct spa_process_latency_info *info)
 
static struct spa_podspa_process_latency_build (struct spa_pod_builder *builder, uint32_t id, const struct spa_process_latency_info *info)
 
static int spa_process_latency_info_add (const struct spa_process_latency_info *process, struct spa_latency_info *info)
 
static int spa_tag_compare (const struct spa_pod *a, const struct spa_pod *b)
 
static int spa_tag_parse (const struct spa_pod *tag, struct spa_tag_info *info, void **state)
 
static int spa_tag_info_parse (const struct spa_tag_info *info, struct spa_dict *dict, struct spa_dict_item *items)
 
static void spa_tag_build_start (struct spa_pod_builder *builder, struct spa_pod_frame *f, uint32_t id, enum spa_direction direction)
 
static void spa_tag_build_add_info (struct spa_pod_builder *builder, const struct spa_pod *info)
 
static void spa_tag_build_add_dict (struct spa_pod_builder *builder, const struct spa_dict *dict)
 
static struct spa_podspa_tag_build_end (struct spa_pod_builder *builder, struct spa_pod_frame *f)
 
static int spa_format_video_dsp_parse (const struct spa_pod *format, struct spa_video_info_dsp *info)
 
static struct spa_podspa_format_video_dsp_build (struct spa_pod_builder *builder, uint32_t id, struct spa_video_info_dsp *info)
 
static int spa_format_video_h264_parse (const struct spa_pod *format, struct spa_video_info_h264 *info)
 
static struct spa_podspa_format_video_h264_build (struct spa_pod_builder *builder, uint32_t id, struct spa_video_info_h264 *info)
 
static int spa_format_video_mjpg_parse (const struct spa_pod *format, struct spa_video_info_mjpg *info)
 
static struct spa_podspa_format_video_mjpg_build (struct spa_pod_builder *builder, uint32_t id, struct spa_video_info_mjpg *info)
 
static int spa_format_video_raw_parse (const struct spa_pod *format, struct spa_video_info_raw *info)
 
static struct spa_podspa_format_video_raw_build (struct spa_pod_builder *builder, uint32_t id, struct spa_video_info_raw *info)
 

Variables

static const struct spa_type_info spa_type_audio_format []
 
static const struct spa_type_info spa_type_audio_flags []
 
static const struct spa_type_info spa_type_audio_channel []
 
static const struct spa_type_info spa_type_bluetooth_audio_codec []
 
static const struct spa_type_info spa_type_param_meta []
 
static const struct spa_type_info spa_type_param_io []
 
static const struct spa_type_info spa_type_param_buffers []
 
static const struct spa_type_info spa_type_media_type []
 
static const struct spa_type_info spa_type_media_subtype []
 
static const struct spa_type_info spa_type_format []
 
static const struct spa_type_info spa_type_param_latency []
 
static const struct spa_type_info spa_type_param_process_latency []
 
static const struct spa_type_info spa_type_param []
 
static const struct spa_type_info spa_type_prop_float_array []
 
static const struct spa_type_info spa_type_prop_channel_map []
 
static const struct spa_type_info spa_type_prop_iec958_codec []
 
static const struct spa_type_info spa_type_param_bitorder []
 
static const struct spa_type_info spa_type_param_availability []
 
static const struct spa_type_info spa_type_param_port_config_mode []
 
static const struct spa_type_info spa_type_param_port_config []
 
static const struct spa_type_info spa_type_param_profile []
 
static const struct spa_type_info spa_type_profiler []
 
static const struct spa_type_info spa_type_props []
 
static const struct spa_type_info spa_type_prop_info []
 
static const struct spa_type_info spa_type_param_route []
 
static const struct spa_type_info spa_type_param_tag []
 
static const struct spa_type_info spa_type_video_format []
 
static const struct spa_type_info spa_type_video_flags []
 
static const struct spa_type_info spa_type_video_interlace_mode []
 

Detailed Description

Parameter value enumerations and type information.

Enumeration Type Documentation

◆ spa_audio_iec958_codec

Enumerator
SPA_AUDIO_IEC958_CODEC_UNKNOWN 
SPA_AUDIO_IEC958_CODEC_PCM 
SPA_AUDIO_IEC958_CODEC_DTS 
SPA_AUDIO_IEC958_CODEC_AC3 
SPA_AUDIO_IEC958_CODEC_MPEG 

MPEG-1 or MPEG-2 (Part 3, not AAC)

SPA_AUDIO_IEC958_CODEC_MPEG2_AAC 

MPEG-2 AAC.

SPA_AUDIO_IEC958_CODEC_EAC3 
SPA_AUDIO_IEC958_CODEC_TRUEHD 

Dolby TrueHD.

SPA_AUDIO_IEC958_CODEC_DTSHD 

DTS-HD Master Audio.

◆ spa_audio_format

Enumerator
SPA_AUDIO_FORMAT_UNKNOWN 
SPA_AUDIO_FORMAT_ENCODED 
SPA_AUDIO_FORMAT_START_Interleaved 
SPA_AUDIO_FORMAT_S8 
SPA_AUDIO_FORMAT_U8 
SPA_AUDIO_FORMAT_S16_LE 
SPA_AUDIO_FORMAT_S16_BE 
SPA_AUDIO_FORMAT_U16_LE 
SPA_AUDIO_FORMAT_U16_BE 
SPA_AUDIO_FORMAT_S24_32_LE 
SPA_AUDIO_FORMAT_S24_32_BE 
SPA_AUDIO_FORMAT_U24_32_LE 
SPA_AUDIO_FORMAT_U24_32_BE 
SPA_AUDIO_FORMAT_S32_LE 
SPA_AUDIO_FORMAT_S32_BE 
SPA_AUDIO_FORMAT_U32_LE 
SPA_AUDIO_FORMAT_U32_BE 
SPA_AUDIO_FORMAT_S24_LE 
SPA_AUDIO_FORMAT_S24_BE 
SPA_AUDIO_FORMAT_U24_LE 
SPA_AUDIO_FORMAT_U24_BE 
SPA_AUDIO_FORMAT_S20_LE 
SPA_AUDIO_FORMAT_S20_BE 
SPA_AUDIO_FORMAT_U20_LE 
SPA_AUDIO_FORMAT_U20_BE 
SPA_AUDIO_FORMAT_S18_LE 
SPA_AUDIO_FORMAT_S18_BE 
SPA_AUDIO_FORMAT_U18_LE 
SPA_AUDIO_FORMAT_U18_BE 
SPA_AUDIO_FORMAT_F32_LE 
SPA_AUDIO_FORMAT_F32_BE 
SPA_AUDIO_FORMAT_F64_LE 
SPA_AUDIO_FORMAT_F64_BE 
SPA_AUDIO_FORMAT_ULAW 
SPA_AUDIO_FORMAT_ALAW 
SPA_AUDIO_FORMAT_START_Planar 
SPA_AUDIO_FORMAT_U8P 
SPA_AUDIO_FORMAT_S16P 
SPA_AUDIO_FORMAT_S24_32P 
SPA_AUDIO_FORMAT_S32P 
SPA_AUDIO_FORMAT_S24P 
SPA_AUDIO_FORMAT_F32P 
SPA_AUDIO_FORMAT_F64P 
SPA_AUDIO_FORMAT_S8P 
SPA_AUDIO_FORMAT_START_Other 
SPA_AUDIO_FORMAT_DSP_S32 
SPA_AUDIO_FORMAT_DSP_F32 
SPA_AUDIO_FORMAT_DSP_F64 
SPA_AUDIO_FORMAT_S16 
SPA_AUDIO_FORMAT_U16 
SPA_AUDIO_FORMAT_S24_32 
SPA_AUDIO_FORMAT_U24_32 
SPA_AUDIO_FORMAT_S32 
SPA_AUDIO_FORMAT_U32 
SPA_AUDIO_FORMAT_S24 
SPA_AUDIO_FORMAT_U24 
SPA_AUDIO_FORMAT_S20 
SPA_AUDIO_FORMAT_U20 
SPA_AUDIO_FORMAT_S18 
SPA_AUDIO_FORMAT_U18 
SPA_AUDIO_FORMAT_F32 
SPA_AUDIO_FORMAT_F64 
SPA_AUDIO_FORMAT_S16_OE 
SPA_AUDIO_FORMAT_U16_OE 
SPA_AUDIO_FORMAT_S24_32_OE 
SPA_AUDIO_FORMAT_U24_32_OE 
SPA_AUDIO_FORMAT_S32_OE 
SPA_AUDIO_FORMAT_U32_OE 
SPA_AUDIO_FORMAT_S24_OE 
SPA_AUDIO_FORMAT_U24_OE 
SPA_AUDIO_FORMAT_S20_OE 
SPA_AUDIO_FORMAT_U20_OE 
SPA_AUDIO_FORMAT_S18_OE 
SPA_AUDIO_FORMAT_U18_OE 
SPA_AUDIO_FORMAT_F32_OE 
SPA_AUDIO_FORMAT_F64_OE 

◆ spa_audio_channel

Enumerator
SPA_AUDIO_CHANNEL_UNKNOWN 

unspecified

SPA_AUDIO_CHANNEL_NA 

N/A, silent.

SPA_AUDIO_CHANNEL_MONO 

mono stream

SPA_AUDIO_CHANNEL_FL 

front left

SPA_AUDIO_CHANNEL_FR 

front right

SPA_AUDIO_CHANNEL_FC 

front center

SPA_AUDIO_CHANNEL_LFE 

LFE.

SPA_AUDIO_CHANNEL_SL 

side left

SPA_AUDIO_CHANNEL_SR 

side right

SPA_AUDIO_CHANNEL_FLC 

front left center

SPA_AUDIO_CHANNEL_FRC 

front right center

SPA_AUDIO_CHANNEL_RC 

rear center

SPA_AUDIO_CHANNEL_RL 

rear left

SPA_AUDIO_CHANNEL_RR 

rear right

SPA_AUDIO_CHANNEL_TC 

top center

SPA_AUDIO_CHANNEL_TFL 

top front left

SPA_AUDIO_CHANNEL_TFC 

top front center

SPA_AUDIO_CHANNEL_TFR 

top front right

SPA_AUDIO_CHANNEL_TRL 

top rear left

SPA_AUDIO_CHANNEL_TRC 

top rear center

SPA_AUDIO_CHANNEL_TRR 

top rear right

SPA_AUDIO_CHANNEL_RLC 

rear left center

SPA_AUDIO_CHANNEL_RRC 

rear right center

SPA_AUDIO_CHANNEL_FLW 

front left wide

SPA_AUDIO_CHANNEL_FRW 

front right wide

SPA_AUDIO_CHANNEL_LFE2 

LFE 2.

SPA_AUDIO_CHANNEL_FLH 

front left high

SPA_AUDIO_CHANNEL_FCH 

front center high

SPA_AUDIO_CHANNEL_FRH 

front right high

SPA_AUDIO_CHANNEL_TFLC 

top front left center

SPA_AUDIO_CHANNEL_TFRC 

top front right center

SPA_AUDIO_CHANNEL_TSL 

top side left

SPA_AUDIO_CHANNEL_TSR 

top side right

SPA_AUDIO_CHANNEL_LLFE 

left LFE

SPA_AUDIO_CHANNEL_RLFE 

right LFE

SPA_AUDIO_CHANNEL_BC 

bottom center

SPA_AUDIO_CHANNEL_BLC 

bottom left center

SPA_AUDIO_CHANNEL_BRC 

bottom right center

SPA_AUDIO_CHANNEL_START_Aux 

aux channels

SPA_AUDIO_CHANNEL_AUX0 
SPA_AUDIO_CHANNEL_AUX1 
SPA_AUDIO_CHANNEL_AUX2 
SPA_AUDIO_CHANNEL_AUX3 
SPA_AUDIO_CHANNEL_AUX4 
SPA_AUDIO_CHANNEL_AUX5 
SPA_AUDIO_CHANNEL_AUX6 
SPA_AUDIO_CHANNEL_AUX7 
SPA_AUDIO_CHANNEL_AUX8 
SPA_AUDIO_CHANNEL_AUX9 
SPA_AUDIO_CHANNEL_AUX10 
SPA_AUDIO_CHANNEL_AUX11 
SPA_AUDIO_CHANNEL_AUX12 
SPA_AUDIO_CHANNEL_AUX13 
SPA_AUDIO_CHANNEL_AUX14 
SPA_AUDIO_CHANNEL_AUX15 
SPA_AUDIO_CHANNEL_AUX16 
SPA_AUDIO_CHANNEL_AUX17 
SPA_AUDIO_CHANNEL_AUX18 
SPA_AUDIO_CHANNEL_AUX19 
SPA_AUDIO_CHANNEL_AUX20 
SPA_AUDIO_CHANNEL_AUX21 
SPA_AUDIO_CHANNEL_AUX22 
SPA_AUDIO_CHANNEL_AUX23 
SPA_AUDIO_CHANNEL_AUX24 
SPA_AUDIO_CHANNEL_AUX25 
SPA_AUDIO_CHANNEL_AUX26 
SPA_AUDIO_CHANNEL_AUX27 
SPA_AUDIO_CHANNEL_AUX28 
SPA_AUDIO_CHANNEL_AUX29 
SPA_AUDIO_CHANNEL_AUX30 
SPA_AUDIO_CHANNEL_AUX31 
SPA_AUDIO_CHANNEL_AUX32 
SPA_AUDIO_CHANNEL_AUX33 
SPA_AUDIO_CHANNEL_AUX34 
SPA_AUDIO_CHANNEL_AUX35 
SPA_AUDIO_CHANNEL_AUX36 
SPA_AUDIO_CHANNEL_AUX37 
SPA_AUDIO_CHANNEL_AUX38 
SPA_AUDIO_CHANNEL_AUX39 
SPA_AUDIO_CHANNEL_AUX40 
SPA_AUDIO_CHANNEL_AUX41 
SPA_AUDIO_CHANNEL_AUX42 
SPA_AUDIO_CHANNEL_AUX43 
SPA_AUDIO_CHANNEL_AUX44 
SPA_AUDIO_CHANNEL_AUX45 
SPA_AUDIO_CHANNEL_AUX46 
SPA_AUDIO_CHANNEL_AUX47 
SPA_AUDIO_CHANNEL_AUX48 
SPA_AUDIO_CHANNEL_AUX49 
SPA_AUDIO_CHANNEL_AUX50 
SPA_AUDIO_CHANNEL_AUX51 
SPA_AUDIO_CHANNEL_AUX52 
SPA_AUDIO_CHANNEL_AUX53 
SPA_AUDIO_CHANNEL_AUX54 
SPA_AUDIO_CHANNEL_AUX55 
SPA_AUDIO_CHANNEL_AUX56 
SPA_AUDIO_CHANNEL_AUX57 
SPA_AUDIO_CHANNEL_AUX58 
SPA_AUDIO_CHANNEL_AUX59 
SPA_AUDIO_CHANNEL_AUX60 
SPA_AUDIO_CHANNEL_AUX61 
SPA_AUDIO_CHANNEL_AUX62 
SPA_AUDIO_CHANNEL_AUX63 
SPA_AUDIO_CHANNEL_LAST_Aux 

aux channels

SPA_AUDIO_CHANNEL_START_Custom 

◆ spa_audio_volume_ramp_scale

Enumerator
SPA_AUDIO_VOLUME_RAMP_INVALID 
SPA_AUDIO_VOLUME_RAMP_LINEAR 
SPA_AUDIO_VOLUME_RAMP_CUBIC 

◆ spa_bluetooth_audio_codec

Enumerator
SPA_BLUETOOTH_AUDIO_CODEC_START 
SPA_BLUETOOTH_AUDIO_CODEC_SBC 
SPA_BLUETOOTH_AUDIO_CODEC_SBC_XQ 
SPA_BLUETOOTH_AUDIO_CODEC_MPEG 
SPA_BLUETOOTH_AUDIO_CODEC_AAC 
SPA_BLUETOOTH_AUDIO_CODEC_APTX 
SPA_BLUETOOTH_AUDIO_CODEC_APTX_HD 
SPA_BLUETOOTH_AUDIO_CODEC_LDAC 
SPA_BLUETOOTH_AUDIO_CODEC_APTX_LL 
SPA_BLUETOOTH_AUDIO_CODEC_APTX_LL_DUPLEX 
SPA_BLUETOOTH_AUDIO_CODEC_FASTSTREAM 
SPA_BLUETOOTH_AUDIO_CODEC_FASTSTREAM_DUPLEX 
SPA_BLUETOOTH_AUDIO_CODEC_LC3PLUS_HR 
SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05 
SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_51 
SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_71 
SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_DUPLEX 
SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_PRO 
SPA_BLUETOOTH_AUDIO_CODEC_CVSD 
SPA_BLUETOOTH_AUDIO_CODEC_MSBC 
SPA_BLUETOOTH_AUDIO_CODEC_LC3 

◆ spa_param_buffers

properties for SPA_TYPE_OBJECT_ParamBuffers

Enumerator
SPA_PARAM_BUFFERS_START 
SPA_PARAM_BUFFERS_buffers 

number of buffers (Int)

SPA_PARAM_BUFFERS_blocks 

number of data blocks per buffer (Int)

SPA_PARAM_BUFFERS_size 

size of a data block memory (Int)

SPA_PARAM_BUFFERS_stride 

stride of data block memory (Int)

SPA_PARAM_BUFFERS_align 

alignment of data block memory (Int)

SPA_PARAM_BUFFERS_dataType 

possible memory types (Int, mask of enum spa_data_type)

◆ spa_param_meta

properties for SPA_TYPE_OBJECT_ParamMeta

Enumerator
SPA_PARAM_META_START 
SPA_PARAM_META_type 

the metadata, one of enum spa_meta_type (Id enum spa_meta_type)

SPA_PARAM_META_size 

the expected maximum size the meta (Int)

◆ spa_param_io

properties for SPA_TYPE_OBJECT_ParamIO

Enumerator
SPA_PARAM_IO_START 
SPA_PARAM_IO_id 

type ID, uniquely identifies the io area (Id enum spa_io_type)

SPA_PARAM_IO_size 

size of the io area (Int)

◆ spa_media_type

media type for SPA_TYPE_OBJECT_Format

Enumerator
SPA_MEDIA_TYPE_unknown 
SPA_MEDIA_TYPE_audio 
SPA_MEDIA_TYPE_video 
SPA_MEDIA_TYPE_image 
SPA_MEDIA_TYPE_binary 
SPA_MEDIA_TYPE_stream 
SPA_MEDIA_TYPE_application 

◆ spa_media_subtype

media subtype for SPA_TYPE_OBJECT_Format

Enumerator
SPA_MEDIA_SUBTYPE_unknown 
SPA_MEDIA_SUBTYPE_raw 
SPA_MEDIA_SUBTYPE_dsp 
SPA_MEDIA_SUBTYPE_iec958 
SPA_MEDIA_SUBTYPE_dsd 

S/PDIF.

SPA_MEDIA_SUBTYPE_START_Audio 
SPA_MEDIA_SUBTYPE_mp3 
SPA_MEDIA_SUBTYPE_aac 
SPA_MEDIA_SUBTYPE_vorbis 
SPA_MEDIA_SUBTYPE_wma 
SPA_MEDIA_SUBTYPE_ra 
SPA_MEDIA_SUBTYPE_sbc 
SPA_MEDIA_SUBTYPE_adpcm 
SPA_MEDIA_SUBTYPE_g723 
SPA_MEDIA_SUBTYPE_g726 
SPA_MEDIA_SUBTYPE_g729 
SPA_MEDIA_SUBTYPE_amr 
SPA_MEDIA_SUBTYPE_gsm 
SPA_MEDIA_SUBTYPE_alac 
SPA_MEDIA_SUBTYPE_flac 

since 0.3.65

SPA_MEDIA_SUBTYPE_ape 

since 0.3.65

SPA_MEDIA_SUBTYPE_opus 

since 0.3.65

SPA_MEDIA_SUBTYPE_START_Video 

since 0.3.68

SPA_MEDIA_SUBTYPE_h264 
SPA_MEDIA_SUBTYPE_mjpg 
SPA_MEDIA_SUBTYPE_dv 
SPA_MEDIA_SUBTYPE_mpegts 
SPA_MEDIA_SUBTYPE_h263 
SPA_MEDIA_SUBTYPE_mpeg1 
SPA_MEDIA_SUBTYPE_mpeg2 
SPA_MEDIA_SUBTYPE_mpeg4 
SPA_MEDIA_SUBTYPE_xvid 
SPA_MEDIA_SUBTYPE_vc1 
SPA_MEDIA_SUBTYPE_vp8 
SPA_MEDIA_SUBTYPE_vp9 
SPA_MEDIA_SUBTYPE_bayer 
SPA_MEDIA_SUBTYPE_START_Image 
SPA_MEDIA_SUBTYPE_jpeg 
SPA_MEDIA_SUBTYPE_START_Binary 
SPA_MEDIA_SUBTYPE_START_Stream 
SPA_MEDIA_SUBTYPE_midi 
SPA_MEDIA_SUBTYPE_START_Application 
SPA_MEDIA_SUBTYPE_control 

control stream, data contains spa_pod_sequence with control info.

◆ spa_format

enum spa_format

properties for audio SPA_TYPE_OBJECT_Format

Enumerator
SPA_FORMAT_START 
SPA_FORMAT_mediaType 

media type (Id enum spa_media_type)

SPA_FORMAT_mediaSubtype 

media subtype (Id enum spa_media_subtype)

SPA_FORMAT_START_Audio 
SPA_FORMAT_AUDIO_format 

audio format, (Id enum spa_audio_format)

SPA_FORMAT_AUDIO_flags 

optional flags (Int)

SPA_FORMAT_AUDIO_rate 

sample rate (Int)

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)

SPA_FORMAT_AUDIO_bitorder 

bit order (Id enum spa_param_bitorder)

SPA_FORMAT_AUDIO_interleave 

Interleave bytes (Int)

SPA_FORMAT_AUDIO_bitrate 

bit rate (Int)

SPA_FORMAT_AUDIO_blockAlign 

audio data block alignment (Int)

SPA_FORMAT_AUDIO_AAC_streamFormat 

AAC stream format, (Id enum spa_audio_aac_stream_format)

SPA_FORMAT_AUDIO_WMA_profile 

WMA profile (Id enum spa_audio_wma_profile)

SPA_FORMAT_AUDIO_AMR_bandMode 

AMR band mode (Id enum spa_audio_amr_band_mode)

SPA_FORMAT_START_Video 
SPA_FORMAT_VIDEO_format 

video format (Id enum spa_video_format)

SPA_FORMAT_VIDEO_modifier 

format modifier (Long) use only with DMA-BUF and omit for other buffer types

SPA_FORMAT_VIDEO_size 

size (Rectangle)

SPA_FORMAT_VIDEO_framerate 

frame rate (Fraction)

SPA_FORMAT_VIDEO_maxFramerate 

maximum frame rate (Fraction)

SPA_FORMAT_VIDEO_views 

number of views (Int)

SPA_FORMAT_VIDEO_interlaceMode 

(Id enum spa_video_interlace_mode)

SPA_FORMAT_VIDEO_pixelAspectRatio 

(Rectangle)

SPA_FORMAT_VIDEO_multiviewMode 

(Id enum spa_video_multiview_mode)

SPA_FORMAT_VIDEO_multiviewFlags 

(Id enum spa_video_multiview_flags)

SPA_FORMAT_VIDEO_chromaSite 

/Id enum spa_video_chroma_site)

SPA_FORMAT_VIDEO_colorRange 

/Id enum spa_video_color_range)

SPA_FORMAT_VIDEO_colorMatrix 

/Id enum spa_video_color_matrix)

SPA_FORMAT_VIDEO_transferFunction 

/Id enum spa_video_transfer_function)

SPA_FORMAT_VIDEO_colorPrimaries 

/Id enum spa_video_color_primaries)

SPA_FORMAT_VIDEO_profile 

(Int)

SPA_FORMAT_VIDEO_level 

(Int)

SPA_FORMAT_VIDEO_H264_streamFormat 

(Id enum spa_h264_stream_format)

SPA_FORMAT_VIDEO_H264_alignment 

(Id enum spa_h264_alignment)

SPA_FORMAT_START_Image 
SPA_FORMAT_START_Binary 
SPA_FORMAT_START_Stream 
SPA_FORMAT_START_Application 
Examples
video-play-fixate.c.

◆ spa_param_latency

properties for SPA_TYPE_OBJECT_ParamLatency

Enumerator
SPA_PARAM_LATENCY_START 
SPA_PARAM_LATENCY_direction 

direction, input/output (Id enum spa_direction)

SPA_PARAM_LATENCY_minQuantum 

min latency relative to quantum (Float)

SPA_PARAM_LATENCY_maxQuantum 

max latency relative to quantum (Float)

SPA_PARAM_LATENCY_minRate 

min latency (Int) relative to rate

SPA_PARAM_LATENCY_maxRate 

max latency (Int) relative to rate

SPA_PARAM_LATENCY_minNs 

min latency (Long) in nanoseconds

SPA_PARAM_LATENCY_maxNs 

max latency (Long) in nanoseconds

◆ spa_param_process_latency

properties for SPA_TYPE_OBJECT_ParamProcessLatency

Enumerator
SPA_PARAM_PROCESS_LATENCY_START 
SPA_PARAM_PROCESS_LATENCY_quantum 

latency relative to quantum (Float)

SPA_PARAM_PROCESS_LATENCY_rate 

latency (Int) relative to rate

SPA_PARAM_PROCESS_LATENCY_ns 

latency (Long) in nanoseconds

◆ spa_param_type

different parameter types that can be queried

Enumerator
SPA_PARAM_Invalid 

invalid

SPA_PARAM_PropInfo 

property information as SPA_TYPE_OBJECT_PropInfo

SPA_PARAM_Props 

properties as SPA_TYPE_OBJECT_Props

SPA_PARAM_EnumFormat 

available formats as SPA_TYPE_OBJECT_Format

SPA_PARAM_Format 

configured format as SPA_TYPE_OBJECT_Format

SPA_PARAM_Buffers 

buffer configurations as SPA_TYPE_OBJECT_ParamBuffers

SPA_PARAM_Meta 

allowed metadata for buffers as SPA_TYPE_OBJECT_ParamMeta

SPA_PARAM_IO 

configurable IO areas as SPA_TYPE_OBJECT_ParamIO

SPA_PARAM_EnumProfile 

profile enumeration as SPA_TYPE_OBJECT_ParamProfile

SPA_PARAM_Profile 

profile configuration as SPA_TYPE_OBJECT_ParamProfile

SPA_PARAM_EnumPortConfig 

port configuration enumeration as SPA_TYPE_OBJECT_ParamPortConfig

SPA_PARAM_PortConfig 

port configuration as SPA_TYPE_OBJECT_ParamPortConfig

SPA_PARAM_EnumRoute 

routing enumeration as SPA_TYPE_OBJECT_ParamRoute

SPA_PARAM_Route 

routing configuration as SPA_TYPE_OBJECT_ParamRoute

SPA_PARAM_Control 

Control parameter, a SPA_TYPE_Sequence.

SPA_PARAM_Latency 

latency reporting, a SPA_TYPE_OBJECT_ParamLatency

SPA_PARAM_ProcessLatency 

processing latency, a SPA_TYPE_OBJECT_ParamProcessLatency

SPA_PARAM_Tag 

tag reporting, a SPA_TYPE_OBJECT_ParamTag.

Since 0.3.79

◆ spa_param_bitorder

Enumerator
SPA_PARAM_BITORDER_unknown 

unknown bitorder

SPA_PARAM_BITORDER_msb 

most significant bit

SPA_PARAM_BITORDER_lsb 

least significant bit

◆ spa_param_availability

Enumerator
SPA_PARAM_AVAILABILITY_unknown 

unknown availability

SPA_PARAM_AVAILABILITY_no 

not available

SPA_PARAM_AVAILABILITY_yes 

available

◆ spa_param_port_config_mode

Enumerator
SPA_PARAM_PORT_CONFIG_MODE_none 

no configuration

SPA_PARAM_PORT_CONFIG_MODE_passthrough 

passthrough configuration

SPA_PARAM_PORT_CONFIG_MODE_convert 

convert configuration

SPA_PARAM_PORT_CONFIG_MODE_dsp 

dsp configuration, depending on the external format.

For audio, ports will be configured for the given number of channels with F32 format.

◆ spa_param_port_config

properties for SPA_TYPE_OBJECT_ParamPortConfig

Enumerator
SPA_PARAM_PORT_CONFIG_START 
SPA_PARAM_PORT_CONFIG_direction 

(Id enum spa_direction) direction

SPA_PARAM_PORT_CONFIG_mode 

(Id enum spa_param_port_config_mode) mode

SPA_PARAM_PORT_CONFIG_monitor 

(Bool) enable monitor output ports on input ports

SPA_PARAM_PORT_CONFIG_control 

(Bool) enable control ports

SPA_PARAM_PORT_CONFIG_format 

(Object) format filter

◆ spa_param_profile

properties for SPA_TYPE_OBJECT_ParamProfile

Enumerator
SPA_PARAM_PROFILE_START 
SPA_PARAM_PROFILE_index 

profile index (Int)

SPA_PARAM_PROFILE_name 

profile name (String)

SPA_PARAM_PROFILE_description 

profile description (String)

SPA_PARAM_PROFILE_priority 

profile priority (Int)

SPA_PARAM_PROFILE_available 

availability of the profile (Id enum spa_param_availability)

SPA_PARAM_PROFILE_info 

info (Struct( Int : n_items, (String : key, String : value)*))

SPA_PARAM_PROFILE_classes 

node classes provided by this profile (Struct( Int : number of items following Struct( String : class name (eg.

"Audio/Source"), Int : number of nodes String : property (eg. "card.profile.devices"), Array of Int: device indexes )*))

SPA_PARAM_PROFILE_save 

If profile should be saved (Bool)

◆ spa_profiler

properties for SPA_TYPE_OBJECT_Profiler

Enumerator
SPA_PROFILER_START 
SPA_PROFILER_START_Driver 

driver related profiler properties

SPA_PROFILER_info 

Generic info, counter and CPU load, (Struct( Long : counter, Float : cpu_load fast, Float : cpu_load medium, Float : cpu_load slow), Int : xrun-count))

SPA_PROFILER_clock 

clock information (Struct( Int : clock flags, Int : clock id, String: clock name, Long : clock nsec, Fraction : clock rate, Long : clock position, Long : clock duration, Long : clock delay, Double : clock rate_diff, Long : clock next_nsec))

SPA_PROFILER_driverBlock 

generic driver info block (Struct( Int : driver_id, String : name, Long : driver prev_signal, Long : driver signal, Long : driver awake, Long : driver finish, Int : driver status), Fraction : latency))

SPA_PROFILER_START_Follower 

follower related profiler properties

SPA_PROFILER_followerBlock 

generic follower info block (Struct( Int : id, String : name, Long : prev_signal, Long : signal, Long : awake, Long : finish, Int : status, Fraction : latency))

SPA_PROFILER_START_CUSTOM 

◆ spa_prop_info

properties of SPA_TYPE_OBJECT_PropInfo

Enumerator
SPA_PROP_INFO_START 
SPA_PROP_INFO_id 

associated id of the property

SPA_PROP_INFO_name 

name of the property

SPA_PROP_INFO_type 

type and range/enums of property

SPA_PROP_INFO_labels 

labels of property if any, this is a struct with pairs of values, the first one is of the type of the property, the second one is a string with a user readable label for the value.

SPA_PROP_INFO_container 

type of container if any (Id)

SPA_PROP_INFO_params 

is part of params property (Bool)

SPA_PROP_INFO_description 

User readable description.

◆ spa_prop

enum spa_prop

predefined properties for SPA_TYPE_OBJECT_Props

Enumerator
SPA_PROP_START 
SPA_PROP_unknown 

an unknown property

SPA_PROP_START_Device 

device related properties

SPA_PROP_device 
SPA_PROP_deviceName 
SPA_PROP_deviceFd 
SPA_PROP_card 
SPA_PROP_cardName 
SPA_PROP_minLatency 
SPA_PROP_maxLatency 
SPA_PROP_periods 
SPA_PROP_periodSize 
SPA_PROP_periodEvent 
SPA_PROP_live 
SPA_PROP_rate 
SPA_PROP_quality 
SPA_PROP_bluetoothAudioCodec 
SPA_PROP_bluetoothOffloadActive 
SPA_PROP_START_Audio 

audio related properties

SPA_PROP_waveType 
SPA_PROP_frequency 
SPA_PROP_volume 

a volume (Float), 0.0 silence, 1.0 no attenutation

SPA_PROP_mute 

mute (Bool)

SPA_PROP_patternType 
SPA_PROP_ditherType 
SPA_PROP_truncate 
SPA_PROP_channelVolumes 

a volume array, one (linear) volume per channel (Array of Float).

0.0 is silence, 1.0 is without attenuation. This is the effective volume that is applied. It can result in a hardware volume and software volume (see softVolumes)

SPA_PROP_volumeBase 

a volume base (Float)

SPA_PROP_volumeStep 

a volume step (Float)

SPA_PROP_channelMap 

a channelmap array (Array (Id enum spa_audio_channel))

SPA_PROP_monitorMute 

mute (Bool)

SPA_PROP_monitorVolumes 

a volume array, one (linear) volume per channel (Array of Float)

SPA_PROP_latencyOffsetNsec 

delay adjustment

SPA_PROP_softMute 

mute (Bool) applied in software

SPA_PROP_softVolumes 

a volume array, one (linear) volume per channel (Array of Float).

0.0 is silence, 1.0 is without attenuation. This is the volume applied in software, there might be a part applied in hardware.

SPA_PROP_iec958Codecs 

enabled IEC958 (S/PDIF) codecs, (Array (Id enum spa_audio_iec958_codec)

SPA_PROP_volumeRampSamples 

Samples to ramp the volume over.

SPA_PROP_volumeRampStepSamples 

Step or incremental Samples to ramp the volume over.

SPA_PROP_volumeRampTime 

Time in millisec to ramp the volume over.

SPA_PROP_volumeRampStepTime 

Step or incremental Time in nano seconds to ramp the.

SPA_PROP_volumeRampScale 

the scale or graph to used to ramp the volume

SPA_PROP_START_Video 

video related properties

SPA_PROP_brightness 
SPA_PROP_contrast 
SPA_PROP_saturation 
SPA_PROP_hue 
SPA_PROP_gamma 
SPA_PROP_exposure 
SPA_PROP_gain 
SPA_PROP_sharpness 
SPA_PROP_START_Other 

other properties

SPA_PROP_params 

simple control params (Struct( (String : key, Pod : value)*))

SPA_PROP_START_CUSTOM 

◆ spa_param_route

properties for SPA_TYPE_OBJECT_ParamRoute

Enumerator
SPA_PARAM_ROUTE_START 
SPA_PARAM_ROUTE_index 

index of the routing destination (Int)

SPA_PARAM_ROUTE_direction 

direction, input/output (Id enum spa_direction)

SPA_PARAM_ROUTE_device 

device id (Int)

SPA_PARAM_ROUTE_name 

name of the routing destination (String)

SPA_PARAM_ROUTE_description 

description of the destination (String)

SPA_PARAM_ROUTE_priority 

priority of the destination (Int)

SPA_PARAM_ROUTE_available 

availability of the destination (Id enum spa_param_availability)

SPA_PARAM_ROUTE_info 

info (Struct( Int : n_items, (String : key, String : value)*))

SPA_PARAM_ROUTE_profiles 

associated profile indexes (Array of Int)

SPA_PARAM_ROUTE_props 

properties SPA_TYPE_OBJECT_Props

SPA_PARAM_ROUTE_devices 

associated device indexes (Array of Int)

SPA_PARAM_ROUTE_profile 

profile id (Int)

SPA_PARAM_ROUTE_save 

If route should be saved (Bool)

◆ spa_param_tag

properties for SPA_TYPE_OBJECT_ParamTag

Enumerator
SPA_PARAM_TAG_START 
SPA_PARAM_TAG_direction 

direction, input/output (Id enum spa_direction)

SPA_PARAM_TAG_info 

Struct( Int: n_items (String: key String: value)* )

◆ spa_video_chroma_site

Various Chroma settings.

Enumerator
SPA_VIDEO_CHROMA_SITE_UNKNOWN 

unknown cositing

SPA_VIDEO_CHROMA_SITE_NONE 

no cositing

SPA_VIDEO_CHROMA_SITE_H_COSITED 

chroma is horizontally cosited

SPA_VIDEO_CHROMA_SITE_V_COSITED 

chroma is vertically cosited

SPA_VIDEO_CHROMA_SITE_ALT_LINE 

chroma samples are sited on alternate lines

SPA_VIDEO_CHROMA_SITE_COSITED 

chroma samples cosited with luma samples

SPA_VIDEO_CHROMA_SITE_JPEG 

jpeg style cositing, also for mpeg1 and mjpeg

SPA_VIDEO_CHROMA_SITE_MPEG2 

mpeg2 style cositing

DV style cositing

SPA_VIDEO_CHROMA_SITE_DV 

◆ spa_video_color_range

Possible color range values.

These constants are defined for 8 bit color values and can be scaled for other bit depths.

Enumerator
SPA_VIDEO_COLOR_RANGE_UNKNOWN 

unknown range

SPA_VIDEO_COLOR_RANGE_0_255 

[0..255] for 8 bit components

SPA_VIDEO_COLOR_RANGE_16_235 

[16..235] for 8 bit components.

Chroma has [16..240] range.

◆ spa_video_color_matrix

The color matrix is used to convert between Y'PbPr and non-linear RGB (R'G'B')

Enumerator
SPA_VIDEO_COLOR_MATRIX_UNKNOWN 

unknown matrix

SPA_VIDEO_COLOR_MATRIX_RGB 

identity matrix

SPA_VIDEO_COLOR_MATRIX_FCC 

FCC color matrix.

SPA_VIDEO_COLOR_MATRIX_BT709 

ITU BT.709 color matrix.

SPA_VIDEO_COLOR_MATRIX_BT601 

ITU BT.601 color matrix.

SPA_VIDEO_COLOR_MATRIX_SMPTE240M 

SMTPE 240M color matrix.

SPA_VIDEO_COLOR_MATRIX_BT2020 

ITU-R BT.2020 color matrix.

since 1.6.

◆ spa_video_transfer_function

The video transfer function defines the formula for converting between non-linear RGB (R'G'B') and linear RGB.

Enumerator
SPA_VIDEO_TRANSFER_UNKNOWN 

unknown transfer function

SPA_VIDEO_TRANSFER_GAMMA10 

linear RGB, gamma 1.0 curve

SPA_VIDEO_TRANSFER_GAMMA18 

Gamma 1.8 curve.

SPA_VIDEO_TRANSFER_GAMMA20 

Gamma 2.0 curve.

SPA_VIDEO_TRANSFER_GAMMA22 

Gamma 2.2 curve.

SPA_VIDEO_TRANSFER_BT709 

Gamma 2.2 curve with a linear segment in the lower range.

SPA_VIDEO_TRANSFER_SMPTE240M 

Gamma 2.2 curve with a linear segment in the lower range.

SPA_VIDEO_TRANSFER_SRGB 

Gamma 2.4 curve with a linear segment in the lower range.

SPA_VIDEO_TRANSFER_GAMMA28 

Gamma 2.8 curve.

SPA_VIDEO_TRANSFER_LOG100 

Logarithmic transfer characteristic 100:1 range.

SPA_VIDEO_TRANSFER_LOG316 

Logarithmic transfer characteristic 316.22777:1 range.

SPA_VIDEO_TRANSFER_BT2020_12 

Gamma 2.2 curve with a linear segment in the lower range.

Used for BT.2020 with 12 bits per component.

Since
1.6.
SPA_VIDEO_TRANSFER_ADOBERGB 

Gamma 2.19921875.

Since
1.8

◆ spa_video_color_primaries

The color primaries define the how to transform linear RGB values to and from the CIE XYZ colorspace.

Enumerator
SPA_VIDEO_COLOR_PRIMARIES_UNKNOWN 

unknown color primaries

SPA_VIDEO_COLOR_PRIMARIES_BT709 

BT709 primaries.

SPA_VIDEO_COLOR_PRIMARIES_BT470M 

BT470M primaries.

SPA_VIDEO_COLOR_PRIMARIES_BT470BG 

BT470BG primaries.

SPA_VIDEO_COLOR_PRIMARIES_SMPTE170M 

SMPTE170M primaries.

SPA_VIDEO_COLOR_PRIMARIES_SMPTE240M 

SMPTE240M primaries.

SPA_VIDEO_COLOR_PRIMARIES_FILM 

Generic film.

SPA_VIDEO_COLOR_PRIMARIES_BT2020 

BT2020 primaries.

Since
1.6.
SPA_VIDEO_COLOR_PRIMARIES_ADOBERGB 

Adobe RGB primaries.

Since
1.8

◆ spa_h264_stream_format

Enumerator
SPA_H264_STREAM_FORMAT_UNKNOWN 
SPA_H264_STREAM_FORMAT_AVC 
SPA_H264_STREAM_FORMAT_AVC3 
SPA_H264_STREAM_FORMAT_BYTESTREAM 

◆ spa_h264_alignment

Enumerator
SPA_H264_ALIGNMENT_UNKNOWN 
SPA_H264_ALIGNMENT_AU 
SPA_H264_ALIGNMENT_NAL 

◆ spa_video_multiview_mode

All possible stereoscopic 3D and multiview representations.

In conjunction with spa_video_multiview_flags, describes how multiview content is being transported in the stream.

Enumerator
SPA_VIDEO_MULTIVIEW_MODE_NONE 

A special value indicating no multiview information.

Used in spa_video_info and other places to indicate that no specific multiview handling has been requested or provided. This value is never carried on caps.

SPA_VIDEO_MULTIVIEW_MODE_MONO 

All frames are monoscopic.

SPA_VIDEO_MULTIVIEW_MODE_LEFT 

All frames represent a left-eye view.

SPA_VIDEO_MULTIVIEW_MODE_RIGHT 

All frames represent a right-eye view.

SPA_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE 

Left and right eye views are provided in the left and right half of the frame respectively.

SPA_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE_QUINCUNX 

Left and right eye views are provided in the left and right half of the frame, but have been sampled using quincunx method, with half-pixel offset between the 2 views.

SPA_VIDEO_MULTIVIEW_MODE_COLUMN_INTERLEAVED 

Alternating vertical columns of pixels represent the left and right eye view respectively.

SPA_VIDEO_MULTIVIEW_MODE_ROW_INTERLEAVED 

Alternating horizontal rows of pixels represent the left and right eye view respectively.

SPA_VIDEO_MULTIVIEW_MODE_TOP_BOTTOM 

The top half of the frame contains the left eye, and the bottom half the right eye.

SPA_VIDEO_MULTIVIEW_MODE_CHECKERBOARD 

Pixels are arranged with alternating pixels representing left and right eye views in a checkerboard fashion.

SPA_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME 

Left and right eye views are provided in separate frames alternately.

SPA_VIDEO_MULTIVIEW_MODE_MULTIVIEW_FRAME_BY_FRAME 

Multipleindependent views are provided in separate frames in sequence.

This method only applies to raw video buffers at the moment. Specific view identification is via spa_video_multiview_meta on raw video buffers.

SPA_VIDEO_MULTIVIEW_MODE_SEPARATED 

Multiple views are provided as separate spa_data framebuffers attached to each Buffers, described by the spa_video_multiview_meta.

◆ spa_video_multiview_flags

spa_video_multiview_flags are used to indicate extra properties of a stereo/multiview stream beyond the frame layout and buffer mapping that is conveyed in the spa_video_multiview_mode.

Enumerator
SPA_VIDEO_MULTIVIEW_FLAGS_NONE 

No flags.

SPA_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST 

For stereo streams, the normal arrangement of left and right views is reversed.

SPA_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED 

The left view is vertically mirrored.

SPA_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED 

The left view is horizontally mirrored.

SPA_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED 

The right view is vertically mirrored.

SPA_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED 

The right view is horizontally mirrored.

SPA_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT 

For frame-packed multiview modes, indicates that the individual views have been encoded with half the true width or height and should be scaled back up for display.

This flag is used for overriding input layout interpretation by adjusting pixel-aspect-ratio. For side-by-side, column interleaved or checkerboard packings, the pixel width will be doubled. For row interleaved and top-bottom encodings, pixel height will be doubled

SPA_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO 

The video stream contains both mono and multiview portions, signalled on each buffer by the absence or presence of the SPA_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW buffer flag.

◆ spa_video_format

Video formats.

The components are in general described in big-endian order. There are some exceptions (e.g. RGB15 and RGB16) which use the host endianness.

Most of the formats are identical to their GStreamer equivalent. See the GStreamer video formats documentation for more details:

https://gstreamer.freedesktop.org/documentation/additional/design/mediatype-video-raw.html#formats

Enumerator
SPA_VIDEO_FORMAT_UNKNOWN 
SPA_VIDEO_FORMAT_ENCODED 
SPA_VIDEO_FORMAT_I420 
SPA_VIDEO_FORMAT_YV12 
SPA_VIDEO_FORMAT_YUY2 
SPA_VIDEO_FORMAT_UYVY 
SPA_VIDEO_FORMAT_AYUV 
SPA_VIDEO_FORMAT_RGBx 
SPA_VIDEO_FORMAT_BGRx 
SPA_VIDEO_FORMAT_xRGB 
SPA_VIDEO_FORMAT_xBGR 
SPA_VIDEO_FORMAT_RGBA 
SPA_VIDEO_FORMAT_BGRA 
SPA_VIDEO_FORMAT_ARGB 
SPA_VIDEO_FORMAT_ABGR 
SPA_VIDEO_FORMAT_RGB 
SPA_VIDEO_FORMAT_BGR 
SPA_VIDEO_FORMAT_Y41B 
SPA_VIDEO_FORMAT_Y42B 
SPA_VIDEO_FORMAT_YVYU 
SPA_VIDEO_FORMAT_Y444 
SPA_VIDEO_FORMAT_v210 
SPA_VIDEO_FORMAT_v216 
SPA_VIDEO_FORMAT_NV12 
SPA_VIDEO_FORMAT_NV21 
SPA_VIDEO_FORMAT_GRAY8 
SPA_VIDEO_FORMAT_GRAY16_BE 
SPA_VIDEO_FORMAT_GRAY16_LE 
SPA_VIDEO_FORMAT_v308 
SPA_VIDEO_FORMAT_RGB16 
SPA_VIDEO_FORMAT_BGR16 
SPA_VIDEO_FORMAT_RGB15 
SPA_VIDEO_FORMAT_BGR15 
SPA_VIDEO_FORMAT_UYVP 
SPA_VIDEO_FORMAT_A420 
SPA_VIDEO_FORMAT_RGB8P 
SPA_VIDEO_FORMAT_YUV9 
SPA_VIDEO_FORMAT_YVU9 
SPA_VIDEO_FORMAT_IYU1 
SPA_VIDEO_FORMAT_ARGB64 
SPA_VIDEO_FORMAT_AYUV64 
SPA_VIDEO_FORMAT_r210 
SPA_VIDEO_FORMAT_I420_10BE 
SPA_VIDEO_FORMAT_I420_10LE 
SPA_VIDEO_FORMAT_I422_10BE 
SPA_VIDEO_FORMAT_I422_10LE 
SPA_VIDEO_FORMAT_Y444_10BE 
SPA_VIDEO_FORMAT_Y444_10LE 
SPA_VIDEO_FORMAT_GBR 
SPA_VIDEO_FORMAT_GBR_10BE 
SPA_VIDEO_FORMAT_GBR_10LE 
SPA_VIDEO_FORMAT_NV16 
SPA_VIDEO_FORMAT_NV24 
SPA_VIDEO_FORMAT_NV12_64Z32 
SPA_VIDEO_FORMAT_A420_10BE 
SPA_VIDEO_FORMAT_A420_10LE 
SPA_VIDEO_FORMAT_A422_10BE 
SPA_VIDEO_FORMAT_A422_10LE 
SPA_VIDEO_FORMAT_A444_10BE 
SPA_VIDEO_FORMAT_A444_10LE 
SPA_VIDEO_FORMAT_NV61 
SPA_VIDEO_FORMAT_P010_10BE 
SPA_VIDEO_FORMAT_P010_10LE 
SPA_VIDEO_FORMAT_IYU2 
SPA_VIDEO_FORMAT_VYUY 
SPA_VIDEO_FORMAT_GBRA 
SPA_VIDEO_FORMAT_GBRA_10BE 
SPA_VIDEO_FORMAT_GBRA_10LE 
SPA_VIDEO_FORMAT_GBR_12BE 
SPA_VIDEO_FORMAT_GBR_12LE 
SPA_VIDEO_FORMAT_GBRA_12BE 
SPA_VIDEO_FORMAT_GBRA_12LE 
SPA_VIDEO_FORMAT_I420_12BE 
SPA_VIDEO_FORMAT_I420_12LE 
SPA_VIDEO_FORMAT_I422_12BE 
SPA_VIDEO_FORMAT_I422_12LE 
SPA_VIDEO_FORMAT_Y444_12BE 
SPA_VIDEO_FORMAT_Y444_12LE 
SPA_VIDEO_FORMAT_RGBA_F16 
SPA_VIDEO_FORMAT_RGBA_F32 
SPA_VIDEO_FORMAT_xRGB_210LE 

32-bit x:R:G:B 2:10:10:10 little endian

SPA_VIDEO_FORMAT_xBGR_210LE 

32-bit x:B:G:R 2:10:10:10 little endian

SPA_VIDEO_FORMAT_RGBx_102LE 

32-bit R:G:B:x 10:10:10:2 little endian

SPA_VIDEO_FORMAT_BGRx_102LE 

32-bit B:G:R:x 10:10:10:2 little endian

SPA_VIDEO_FORMAT_ARGB_210LE 

32-bit A:R:G:B 2:10:10:10 little endian

SPA_VIDEO_FORMAT_ABGR_210LE 

32-bit A:B:G:R 2:10:10:10 little endian

SPA_VIDEO_FORMAT_RGBA_102LE 

32-bit R:G:B:A 10:10:10:2 little endian

SPA_VIDEO_FORMAT_BGRA_102LE 

32-bit B:G:R:A 10:10:10:2 little endian

SPA_VIDEO_FORMAT_DSP_F32 

◆ spa_video_flags

Extra video flags.

Enumerator
SPA_VIDEO_FLAG_NONE 

no flags

SPA_VIDEO_FLAG_VARIABLE_FPS 

a variable fps is selected, fps_n and fps_d denote the maximum fps of the video

SPA_VIDEO_FLAG_PREMULTIPLIED_ALPHA 

Each color has been scaled by the alpha value.

SPA_VIDEO_FLAG_MODIFIER 

use the format modifier

SPA_VIDEO_FLAG_MODIFIER_FIXATION_REQUIRED 

format modifier was not fixated yet

◆ spa_video_interlace_mode

The possible values of the spa_video_interlace_mode describing the interlace mode of the stream.

Enumerator
SPA_VIDEO_INTERLACE_MODE_PROGRESSIVE 

all frames are progressive

SPA_VIDEO_INTERLACE_MODE_INTERLEAVED 

2 fields are interleaved in one video frame.

Extra buffer flags describe the field order.

SPA_VIDEO_INTERLACE_MODE_MIXED 

frames contains both interlaced and progressive video, the buffer flags describe the frame and fields.

SPA_VIDEO_INTERLACE_MODE_FIELDS 

2 fields are stored in one buffer, use the frame ID to get access to the required field.

For multiview (the 'views' property > 1) the fields of view N can be found at frame ID (N * 2) and (N * 2) + 1. Each field has only half the amount of lines as noted in the height property. This mode requires multiple spa_data to describe the fields.

Macro Definition Documentation

◆ SPA_AUDIO_DSD_FLAG_NONE

#define SPA_AUDIO_DSD_FLAG_NONE   (0) /*< no valid flag */

Extra DSD audio flags.

◆ SPA_AUDIO_INFO_DSD_INIT

#define SPA_AUDIO_INFO_DSD_INIT (   ...)    ((struct spa_audio_info_dsd) { __VA_ARGS__ })

◆ SPA_AUDIO_INFO_IEC958_INIT

#define SPA_AUDIO_INFO_IEC958_INIT (   ...)    ((struct spa_audio_info_iec958) { __VA_ARGS__ })

◆ SPA_AUDIO_LAYOUT_Mono

#define SPA_AUDIO_LAYOUT_Mono   1, { SPA_AUDIO_CHANNEL_MONO, }

◆ SPA_AUDIO_LAYOUT_Stereo

#define SPA_AUDIO_LAYOUT_Stereo   2, { SPA_AUDIO_CHANNEL_FL, SPA_AUDIO_CHANNEL_FR, }

◆ SPA_AUDIO_LAYOUT_Quad

#define SPA_AUDIO_LAYOUT_Quad

◆ SPA_AUDIO_LAYOUT_Pentagonal

#define SPA_AUDIO_LAYOUT_Pentagonal

◆ SPA_AUDIO_LAYOUT_Hexagonal

#define SPA_AUDIO_LAYOUT_Hexagonal

◆ SPA_AUDIO_LAYOUT_Octagonal

#define SPA_AUDIO_LAYOUT_Octagonal

◆ SPA_AUDIO_LAYOUT_Cube

#define SPA_AUDIO_LAYOUT_Cube

◆ SPA_AUDIO_LAYOUT_MPEG_1_0

#define SPA_AUDIO_LAYOUT_MPEG_1_0   SPA_AUDIO_LAYOUT_Mono

◆ SPA_AUDIO_LAYOUT_MPEG_2_0

#define SPA_AUDIO_LAYOUT_MPEG_2_0   SPA_AUDIO_LAYOUT_Stereo

◆ SPA_AUDIO_LAYOUT_MPEG_3_0A

#define SPA_AUDIO_LAYOUT_MPEG_3_0A

◆ SPA_AUDIO_LAYOUT_MPEG_3_0B

#define SPA_AUDIO_LAYOUT_MPEG_3_0B

◆ SPA_AUDIO_LAYOUT_MPEG_4_0A

#define SPA_AUDIO_LAYOUT_MPEG_4_0A

◆ SPA_AUDIO_LAYOUT_MPEG_4_0B

#define SPA_AUDIO_LAYOUT_MPEG_4_0B

◆ SPA_AUDIO_LAYOUT_MPEG_5_0A

#define SPA_AUDIO_LAYOUT_MPEG_5_0A

◆ SPA_AUDIO_LAYOUT_MPEG_5_0B

#define SPA_AUDIO_LAYOUT_MPEG_5_0B

◆ SPA_AUDIO_LAYOUT_MPEG_5_0C

#define SPA_AUDIO_LAYOUT_MPEG_5_0C

◆ SPA_AUDIO_LAYOUT_MPEG_5_0D

#define SPA_AUDIO_LAYOUT_MPEG_5_0D

◆ SPA_AUDIO_LAYOUT_MPEG_5_1A

#define SPA_AUDIO_LAYOUT_MPEG_5_1A

◆ SPA_AUDIO_LAYOUT_MPEG_5_1B

#define SPA_AUDIO_LAYOUT_MPEG_5_1B

◆ SPA_AUDIO_LAYOUT_MPEG_5_1C

#define SPA_AUDIO_LAYOUT_MPEG_5_1C

◆ SPA_AUDIO_LAYOUT_MPEG_5_1D

#define SPA_AUDIO_LAYOUT_MPEG_5_1D

◆ SPA_AUDIO_LAYOUT_MPEG_6_1A

#define SPA_AUDIO_LAYOUT_MPEG_6_1A

◆ SPA_AUDIO_LAYOUT_MPEG_7_1A

#define SPA_AUDIO_LAYOUT_MPEG_7_1A

◆ SPA_AUDIO_LAYOUT_MPEG_7_1B

#define SPA_AUDIO_LAYOUT_MPEG_7_1B

◆ SPA_AUDIO_LAYOUT_MPEG_7_1C

#define SPA_AUDIO_LAYOUT_MPEG_7_1C

◆ SPA_AUDIO_LAYOUT_2_1

#define SPA_AUDIO_LAYOUT_2_1

◆ SPA_AUDIO_LAYOUT_2RC

#define SPA_AUDIO_LAYOUT_2RC

◆ SPA_AUDIO_LAYOUT_2FC

#define SPA_AUDIO_LAYOUT_2FC

◆ SPA_AUDIO_LAYOUT_3_1

#define SPA_AUDIO_LAYOUT_3_1

◆ SPA_AUDIO_LAYOUT_4_0

#define SPA_AUDIO_LAYOUT_4_0

◆ SPA_AUDIO_LAYOUT_2_2

#define SPA_AUDIO_LAYOUT_2_2

◆ SPA_AUDIO_LAYOUT_4_1

#define SPA_AUDIO_LAYOUT_4_1

◆ SPA_AUDIO_LAYOUT_5_0

#define SPA_AUDIO_LAYOUT_5_0

◆ SPA_AUDIO_LAYOUT_5_0R

#define SPA_AUDIO_LAYOUT_5_0R

◆ SPA_AUDIO_LAYOUT_5_1

#define SPA_AUDIO_LAYOUT_5_1

◆ SPA_AUDIO_LAYOUT_5_1R

#define SPA_AUDIO_LAYOUT_5_1R

◆ SPA_AUDIO_LAYOUT_6_0

#define SPA_AUDIO_LAYOUT_6_0

◆ SPA_AUDIO_LAYOUT_6_0F

#define SPA_AUDIO_LAYOUT_6_0F

◆ SPA_AUDIO_LAYOUT_6_1

#define SPA_AUDIO_LAYOUT_6_1

◆ SPA_AUDIO_LAYOUT_6_1F

#define SPA_AUDIO_LAYOUT_6_1F

◆ SPA_AUDIO_LAYOUT_7_0

#define SPA_AUDIO_LAYOUT_7_0

◆ SPA_AUDIO_LAYOUT_7_0F

#define SPA_AUDIO_LAYOUT_7_0F

◆ SPA_AUDIO_LAYOUT_7_1

#define SPA_AUDIO_LAYOUT_7_1

◆ SPA_AUDIO_LAYOUT_7_1W

#define SPA_AUDIO_LAYOUT_7_1W

◆ SPA_AUDIO_LAYOUT_7_1WR

#define SPA_AUDIO_LAYOUT_7_1WR

◆ SPA_TYPE_INFO_AudioFormat

#define SPA_TYPE_INFO_AudioFormat   SPA_TYPE_INFO_ENUM_BASE "AudioFormat"

◆ SPA_TYPE_INFO_AUDIO_FORMAT_BASE

#define SPA_TYPE_INFO_AUDIO_FORMAT_BASE   SPA_TYPE_INFO_AudioFormat ":"

◆ SPA_TYPE_INFO_AudioFlags

#define SPA_TYPE_INFO_AudioFlags   SPA_TYPE_INFO_FLAGS_BASE "AudioFlags"

◆ SPA_TYPE_INFO_AUDIO_FLAGS_BASE

#define SPA_TYPE_INFO_AUDIO_FLAGS_BASE   SPA_TYPE_INFO_AudioFlags ":"

◆ SPA_TYPE_INFO_AudioChannel

#define SPA_TYPE_INFO_AudioChannel   SPA_TYPE_INFO_ENUM_BASE "AudioChannel"

◆ SPA_TYPE_INFO_AUDIO_CHANNEL_BASE

#define SPA_TYPE_INFO_AUDIO_CHANNEL_BASE   SPA_TYPE_INFO_AudioChannel ":"

◆ SPA_AUDIO_MAX_CHANNELS

#define SPA_AUDIO_MAX_CHANNELS   64u
Examples
export-source.c.

◆ SPA_AUDIO_FORMAT_IS_INTERLEAVED

#define SPA_AUDIO_FORMAT_IS_INTERLEAVED (   fmt)    ((fmt) > SPA_AUDIO_FORMAT_START_Interleaved && (fmt) < SPA_AUDIO_FORMAT_START_Planar)

◆ SPA_AUDIO_FORMAT_IS_PLANAR

#define SPA_AUDIO_FORMAT_IS_PLANAR (   fmt)    ((fmt) > SPA_AUDIO_FORMAT_START_Planar && (fmt) < SPA_AUDIO_FORMAT_START_Other)

◆ SPA_AUDIO_FLAG_NONE

#define SPA_AUDIO_FLAG_NONE   (0) /*< no valid flag */

Extra audio flags.

◆ SPA_AUDIO_FLAG_UNPOSITIONED

#define SPA_AUDIO_FLAG_UNPOSITIONED

◆ SPA_AUDIO_INFO_RAW_INIT

#define SPA_AUDIO_INFO_RAW_INIT (   ...)    ((struct spa_audio_info_raw) { __VA_ARGS__ })

◆ SPA_KEY_AUDIO_FORMAT

#define SPA_KEY_AUDIO_FORMAT   "audio.format"

an audio format as string, Ex.

"S16LE"

◆ SPA_KEY_AUDIO_CHANNEL

#define SPA_KEY_AUDIO_CHANNEL   "audio.channel"

an audio channel as string, Ex.

"FL"

◆ SPA_KEY_AUDIO_CHANNELS

#define SPA_KEY_AUDIO_CHANNELS   "audio.channels"

an audio channel count as int

◆ SPA_KEY_AUDIO_RATE

#define SPA_KEY_AUDIO_RATE   "audio.rate"

an audio sample rate as int

◆ SPA_KEY_AUDIO_POSITION

#define SPA_KEY_AUDIO_POSITION   "audio.position"

channel positions as comma separated list of channels ex.

"FL,FR"

◆ SPA_KEY_AUDIO_ALLOWED_RATES

#define SPA_KEY_AUDIO_ALLOWED_RATES   "audio.allowed-rates"

a list of allowed samplerates ex.

"[ 44100 48000 ]"

◆ SPA_TYPE_INFO_BluetoothAudioCodec

#define SPA_TYPE_INFO_BluetoothAudioCodec   SPA_TYPE_INFO_ENUM_BASE "BluetoothAudioCodec"

◆ SPA_TYPE_INFO_BLUETOOTH_AUDIO_CODEC_BASE

#define SPA_TYPE_INFO_BLUETOOTH_AUDIO_CODEC_BASE   SPA_TYPE_INFO_BluetoothAudioCodec ":"

◆ SPA_TYPE_INFO_PARAM_Meta

#define SPA_TYPE_INFO_PARAM_Meta   SPA_TYPE_INFO_PARAM_BASE "Meta"

◆ SPA_TYPE_INFO_PARAM_META_BASE

#define SPA_TYPE_INFO_PARAM_META_BASE   SPA_TYPE_INFO_PARAM_Meta ":"

◆ SPA_TYPE_INFO_PARAM_IO

#define SPA_TYPE_INFO_PARAM_IO   SPA_TYPE_INFO_PARAM_BASE "IO"

Base for parameters that describe IO areas to exchange data, control and properties with a node.

◆ SPA_TYPE_INFO_PARAM_IO_BASE

#define SPA_TYPE_INFO_PARAM_IO_BASE   SPA_TYPE_INFO_PARAM_IO ":"

◆ SPA_TYPE_INFO_PARAM_Buffers

#define SPA_TYPE_INFO_PARAM_Buffers   SPA_TYPE_INFO_PARAM_BASE "Buffers"

◆ SPA_TYPE_INFO_PARAM_BUFFERS_BASE

#define SPA_TYPE_INFO_PARAM_BUFFERS_BASE   SPA_TYPE_INFO_PARAM_Buffers ":"

◆ SPA_TYPE_INFO_PARAM_BlockInfo

#define SPA_TYPE_INFO_PARAM_BlockInfo   SPA_TYPE_INFO_PARAM_BUFFERS_BASE "BlockInfo"

◆ SPA_TYPE_INFO_PARAM_BLOCK_INFO_BASE

#define SPA_TYPE_INFO_PARAM_BLOCK_INFO_BASE   SPA_TYPE_INFO_PARAM_BlockInfo ":"

◆ SPA_TYPE_INFO_Format

#define SPA_TYPE_INFO_Format   SPA_TYPE_INFO_PARAM_BASE "Format"

◆ SPA_TYPE_INFO_FORMAT_BASE

#define SPA_TYPE_INFO_FORMAT_BASE   SPA_TYPE_INFO_Format ":"

◆ SPA_TYPE_INFO_MediaType

#define SPA_TYPE_INFO_MediaType   SPA_TYPE_INFO_ENUM_BASE "MediaType"

◆ SPA_TYPE_INFO_MEDIA_TYPE_BASE

#define SPA_TYPE_INFO_MEDIA_TYPE_BASE   SPA_TYPE_INFO_MediaType ":"

◆ SPA_TYPE_INFO_MediaSubtype

#define SPA_TYPE_INFO_MediaSubtype   SPA_TYPE_INFO_ENUM_BASE "MediaSubtype"

◆ SPA_TYPE_INFO_MEDIA_SUBTYPE_BASE

#define SPA_TYPE_INFO_MEDIA_SUBTYPE_BASE   SPA_TYPE_INFO_MediaSubtype ":"

◆ SPA_TYPE_INFO_FormatAudio

#define SPA_TYPE_INFO_FormatAudio   SPA_TYPE_INFO_FORMAT_BASE "Audio"

◆ SPA_TYPE_INFO_FORMAT_AUDIO_BASE

#define SPA_TYPE_INFO_FORMAT_AUDIO_BASE   SPA_TYPE_INFO_FormatAudio ":"

◆ SPA_TYPE_INFO_FORMAT_AUDIO_AAC

#define SPA_TYPE_INFO_FORMAT_AUDIO_AAC   SPA_TYPE_INFO_FORMAT_AUDIO_BASE "AAC"

◆ SPA_TYPE_INFO_FORMAT_AUDIO_AAC_BASE

#define SPA_TYPE_INFO_FORMAT_AUDIO_AAC_BASE   SPA_TYPE_INFO_FORMAT_AUDIO_AAC ":"

◆ SPA_TYPE_INFO_FORMAT_AUDIO_WMA

#define SPA_TYPE_INFO_FORMAT_AUDIO_WMA   SPA_TYPE_INFO_FORMAT_AUDIO_BASE "WMA"

◆ SPA_TYPE_INFO_FORMAT_AUDIO_WMA_BASE

#define SPA_TYPE_INFO_FORMAT_AUDIO_WMA_BASE   SPA_TYPE_INFO_FORMAT_AUDIO_WMA ":"

◆ SPA_TYPE_INFO_FORMAT_AUDIO_AMR

#define SPA_TYPE_INFO_FORMAT_AUDIO_AMR   SPA_TYPE_INFO_FORMAT_AUDIO_BASE "AMR"

◆ SPA_TYPE_INFO_FORMAT_AUDIO_AMR_BASE

#define SPA_TYPE_INFO_FORMAT_AUDIO_AMR_BASE   SPA_TYPE_INFO_FORMAT_AUDIO_AMR ":"

◆ SPA_TYPE_INFO_FormatVideo

#define SPA_TYPE_INFO_FormatVideo   SPA_TYPE_INFO_FORMAT_BASE "Video"

◆ SPA_TYPE_INFO_FORMAT_VIDEO_BASE

#define SPA_TYPE_INFO_FORMAT_VIDEO_BASE   SPA_TYPE_INFO_FormatVideo ":"

◆ SPA_TYPE_INFO_FORMAT_VIDEO_H264

#define SPA_TYPE_INFO_FORMAT_VIDEO_H264   SPA_TYPE_INFO_FORMAT_VIDEO_BASE "H264"

◆ SPA_TYPE_INFO_FORMAT_VIDEO_H264_BASE

#define SPA_TYPE_INFO_FORMAT_VIDEO_H264_BASE   SPA_TYPE_INFO_FORMAT_VIDEO_H264 ":"

◆ SPA_KEY_FORMAT_DSP

#define SPA_KEY_FORMAT_DSP   "format.dsp"

a predefined DSP format, Ex.

"32 bit float mono audio"

◆ SPA_TYPE_INFO_PARAM_Latency

#define SPA_TYPE_INFO_PARAM_Latency   SPA_TYPE_INFO_PARAM_BASE "Latency"

◆ SPA_TYPE_INFO_PARAM_LATENCY_BASE

#define SPA_TYPE_INFO_PARAM_LATENCY_BASE   SPA_TYPE_INFO_PARAM_Latency ":"

◆ SPA_TYPE_INFO_PARAM_ProcessLatency

#define SPA_TYPE_INFO_PARAM_ProcessLatency   SPA_TYPE_INFO_PARAM_BASE "ProcessLatency"

◆ SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE

#define SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE   SPA_TYPE_INFO_PARAM_ProcessLatency ":"

◆ SPA_LATENCY_INFO

#define SPA_LATENCY_INFO (   dir,
  ... 
)    ((struct spa_latency_info) { .direction = (dir), ## __VA_ARGS__ })

◆ SPA_PROCESS_LATENCY_INFO_INIT

#define SPA_PROCESS_LATENCY_INFO_INIT (   ...)    ((struct spa_process_latency_info) { __VA_ARGS__ })

◆ SPA_TYPE_INFO_ParamId

#define SPA_TYPE_INFO_ParamId   SPA_TYPE_INFO_ENUM_BASE "ParamId"

◆ SPA_TYPE_INFO_PARAM_ID_BASE

#define SPA_TYPE_INFO_PARAM_ID_BASE   SPA_TYPE_INFO_ParamId ":"

◆ SPA_TYPE_INFO_Param

#define SPA_TYPE_INFO_Param   SPA_TYPE_INFO_OBJECT_BASE "Param"

◆ SPA_TYPE_INFO_PARAM_BASE

#define SPA_TYPE_INFO_PARAM_BASE   SPA_TYPE_INFO_Param ":"

◆ SPA_TYPE_INFO_ParamBitorder

#define SPA_TYPE_INFO_ParamBitorder   SPA_TYPE_INFO_ENUM_BASE "ParamBitorder"

◆ SPA_TYPE_INFO_PARAM_BITORDER_BASE

#define SPA_TYPE_INFO_PARAM_BITORDER_BASE   SPA_TYPE_INFO_ParamBitorder ":"

◆ SPA_TYPE_INFO_ParamAvailability

#define SPA_TYPE_INFO_ParamAvailability   SPA_TYPE_INFO_ENUM_BASE "ParamAvailability"

◆ SPA_TYPE_INFO_PARAM_AVAILABILITY_BASE

#define SPA_TYPE_INFO_PARAM_AVAILABILITY_BASE   SPA_TYPE_INFO_ParamAvailability ":"

◆ SPA_PARAM_INFO_SERIAL

#define SPA_PARAM_INFO_SERIAL   (1<<0)

bit to signal update even when the read/write flags don't change

◆ SPA_PARAM_INFO_READ

#define SPA_PARAM_INFO_READ   (1<<1)

◆ SPA_PARAM_INFO_WRITE

#define SPA_PARAM_INFO_WRITE   (1<<2)

◆ SPA_PARAM_INFO_READWRITE

#define SPA_PARAM_INFO_READWRITE   (SPA_PARAM_INFO_WRITE|SPA_PARAM_INFO_READ)

◆ SPA_PARAM_INFO

#define SPA_PARAM_INFO (   id,
  flags 
)    ((struct spa_param_info){ (id), (flags) })

◆ SPA_TYPE_INFO_ParamPortConfigMode

#define SPA_TYPE_INFO_ParamPortConfigMode   SPA_TYPE_INFO_ENUM_BASE "ParamPortConfigMode"

◆ SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE

#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE   SPA_TYPE_INFO_ParamPortConfigMode ":"

◆ SPA_TYPE_INFO_PARAM_PortConfig

#define SPA_TYPE_INFO_PARAM_PortConfig   SPA_TYPE_INFO_PARAM_BASE "PortConfig"

◆ SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE

#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE   SPA_TYPE_INFO_PARAM_PortConfig ":"

◆ SPA_TYPE_INFO_PARAM_Profile

#define SPA_TYPE_INFO_PARAM_Profile   SPA_TYPE_INFO_PARAM_BASE "Profile"

◆ SPA_TYPE_INFO_PARAM_PROFILE_BASE

#define SPA_TYPE_INFO_PARAM_PROFILE_BASE   SPA_TYPE_INFO_PARAM_Profile ":"

◆ SPA_TYPE_INFO_Profiler

#define SPA_TYPE_INFO_Profiler   SPA_TYPE_INFO_OBJECT_BASE "Profiler"

◆ SPA_TYPE_INFO_PROFILER_BASE

#define SPA_TYPE_INFO_PROFILER_BASE   SPA_TYPE_INFO_Profiler ":"

◆ SPA_TYPE_INFO_Props

#define SPA_TYPE_INFO_Props   SPA_TYPE_INFO_PARAM_BASE "Props"

Props Param.

◆ SPA_TYPE_INFO_PROPS_BASE

#define SPA_TYPE_INFO_PROPS_BASE   SPA_TYPE_INFO_Props ":"

◆ SPA_TYPE_INFO_PropInfo

#define SPA_TYPE_INFO_PropInfo   SPA_TYPE_INFO_PARAM_BASE "PropInfo"

Enum Property info.

◆ SPA_TYPE_INFO_PROP_INFO_BASE

#define SPA_TYPE_INFO_PROP_INFO_BASE   SPA_TYPE_INFO_PropInfo ":"

◆ SPA_TYPE_INFO_PARAM_Route

#define SPA_TYPE_INFO_PARAM_Route   SPA_TYPE_INFO_PARAM_BASE "Route"

◆ SPA_TYPE_INFO_PARAM_ROUTE_BASE

#define SPA_TYPE_INFO_PARAM_ROUTE_BASE   SPA_TYPE_INFO_PARAM_Route ":"

◆ SPA_TYPE_INFO_PARAM_Tag

#define SPA_TYPE_INFO_PARAM_Tag   SPA_TYPE_INFO_PARAM_BASE "Tag"

◆ SPA_TYPE_INFO_PARAM_TAG_BASE

#define SPA_TYPE_INFO_PARAM_TAG_BASE   SPA_TYPE_INFO_PARAM_Tag ":"

◆ SPA_TAG_INFO

#define SPA_TAG_INFO (   dir,
  ... 
)    ((struct spa_tag_info) { .direction = (dir), ## __VA_ARGS__ })

◆ SPA_VIDEO_INFO_DSP_INIT

#define SPA_VIDEO_INFO_DSP_INIT (   ...)    ((struct spa_video_info_dsp) { __VA_ARGS__ })

◆ SPA_TYPE_INFO_VideoFormat

#define SPA_TYPE_INFO_VideoFormat   SPA_TYPE_INFO_ENUM_BASE "VideoFormat"

◆ SPA_TYPE_INFO_VIDEO_FORMAT_BASE

#define SPA_TYPE_INFO_VIDEO_FORMAT_BASE   SPA_TYPE_INFO_VideoFormat ":"

◆ SPA_TYPE_INFO_VideoFlags

#define SPA_TYPE_INFO_VideoFlags   SPA_TYPE_INFO_FLAGS_BASE "VideoFlags"

◆ SPA_TYPE_INFO_VIDEO_FLAGS_BASE

#define SPA_TYPE_INFO_VIDEO_FLAGS_BASE   SPA_TYPE_INFO_VideoFlags ":"

◆ SPA_TYPE_INFO_VideoInterlaceMode

#define SPA_TYPE_INFO_VideoInterlaceMode   SPA_TYPE_INFO_ENUM_BASE "VideoInterlaceMode"

◆ SPA_TYPE_INFO_VIDEO_INTERLACE_MODE_BASE

#define SPA_TYPE_INFO_VIDEO_INTERLACE_MODE_BASE   SPA_TYPE_INFO_VideoInterlaceMode ":"

◆ SPA_VIDEO_MAX_PLANES

#define SPA_VIDEO_MAX_PLANES   4

◆ SPA_VIDEO_MAX_COMPONENTS

#define SPA_VIDEO_MAX_COMPONENTS   4

◆ SPA_VIDEO_INFO_RAW_INIT

#define SPA_VIDEO_INFO_RAW_INIT (   ...)    ((struct spa_video_info_raw) { __VA_ARGS__ })

Function Documentation

◆ spa_format_audio_aac_parse()

static int spa_format_audio_aac_parse ( const struct spa_pod format,
struct spa_audio_info_aac info 
)
inlinestatic

◆ spa_format_audio_aac_build()

static struct spa_pod * spa_format_audio_aac_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_aac info 
)
inlinestatic

◆ spa_format_audio_alac_parse()

static int spa_format_audio_alac_parse ( const struct spa_pod format,
struct spa_audio_info_alac info 
)
inlinestatic

◆ spa_format_audio_alac_build()

static struct spa_pod * spa_format_audio_alac_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_alac info 
)
inlinestatic

◆ spa_format_audio_amr_parse()

static int spa_format_audio_amr_parse ( const struct spa_pod format,
struct spa_audio_info_amr info 
)
inlinestatic

◆ spa_format_audio_amr_build()

static struct spa_pod * spa_format_audio_amr_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_amr info 
)
inlinestatic

◆ spa_format_audio_ape_parse()

static int spa_format_audio_ape_parse ( const struct spa_pod format,
struct spa_audio_info_ape info 
)
inlinestatic

◆ spa_format_audio_ape_build()

static struct spa_pod * spa_format_audio_ape_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_ape info 
)
inlinestatic

◆ spa_format_audio_dsd_parse()

static int spa_format_audio_dsd_parse ( const struct spa_pod format,
struct spa_audio_info_dsd info 
)
inlinestatic

◆ spa_format_audio_dsd_build()

static struct spa_pod * spa_format_audio_dsd_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_dsd info 
)
inlinestatic

◆ spa_format_audio_dsp_parse()

static int spa_format_audio_dsp_parse ( const struct spa_pod format,
struct spa_audio_info_dsp info 
)
inlinestatic

◆ spa_format_audio_dsp_build()

static struct spa_pod * spa_format_audio_dsp_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_dsp info 
)
inlinestatic

◆ spa_format_audio_flac_parse()

static int spa_format_audio_flac_parse ( const struct spa_pod format,
struct spa_audio_info_flac info 
)
inlinestatic

◆ spa_format_audio_flac_build()

static struct spa_pod * spa_format_audio_flac_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_flac info 
)
inlinestatic

◆ spa_format_audio_parse()

static int spa_format_audio_parse ( const struct spa_pod format,
struct spa_audio_info info 
)
inlinestatic

◆ spa_format_audio_build()

static struct spa_pod * spa_format_audio_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info info 
)
inlinestatic

◆ spa_format_audio_iec958_parse()

static int spa_format_audio_iec958_parse ( const struct spa_pod format,
struct spa_audio_info_iec958 info 
)
inlinestatic

◆ spa_format_audio_iec958_build()

static struct spa_pod * spa_format_audio_iec958_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_iec958 info 
)
inlinestatic

◆ spa_format_audio_mp3_parse()

static int spa_format_audio_mp3_parse ( const struct spa_pod format,
struct spa_audio_info_mp3 info 
)
inlinestatic

◆ spa_format_audio_mp3_build()

static struct spa_pod * spa_format_audio_mp3_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_mp3 info 
)
inlinestatic

◆ spa_format_audio_ra_parse()

static int spa_format_audio_ra_parse ( const struct spa_pod format,
struct spa_audio_info_ra info 
)
inlinestatic

◆ spa_format_audio_ra_build()

static struct spa_pod * spa_format_audio_ra_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_ra info 
)
inlinestatic

◆ spa_format_audio_raw_parse()

static int spa_format_audio_raw_parse ( const struct spa_pod format,
struct spa_audio_info_raw info 
)
inlinestatic

◆ spa_format_audio_raw_build()

static struct spa_pod * spa_format_audio_raw_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_raw info 
)
inlinestatic

◆ spa_format_audio_vorbis_parse()

static int spa_format_audio_vorbis_parse ( const struct spa_pod format,
struct spa_audio_info_vorbis info 
)
inlinestatic

◆ spa_format_audio_vorbis_build()

static struct spa_pod * spa_format_audio_vorbis_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_vorbis info 
)
inlinestatic

◆ spa_format_audio_wma_parse()

static int spa_format_audio_wma_parse ( const struct spa_pod format,
struct spa_audio_info_wma info 
)
inlinestatic

◆ spa_format_audio_wma_build()

static struct spa_pod * spa_format_audio_wma_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_audio_info_wma info 
)
inlinestatic

◆ spa_format_parse()

static int spa_format_parse ( const struct spa_pod format,
uint32_t *  media_type,
uint32_t *  media_subtype 
)
inlinestatic

◆ spa_latency_info_compare()

static int spa_latency_info_compare ( const struct spa_latency_info a,
const struct spa_latency_info b 
)
inlinestatic

◆ spa_latency_info_combine_start()

static void spa_latency_info_combine_start ( struct spa_latency_info info,
enum spa_direction  direction 
)
inlinestatic

◆ spa_latency_info_combine_finish()

static void spa_latency_info_combine_finish ( struct spa_latency_info info)
inlinestatic

◆ spa_latency_info_combine()

static int spa_latency_info_combine ( struct spa_latency_info info,
const struct spa_latency_info other 
)
inlinestatic

◆ spa_latency_parse()

static int spa_latency_parse ( const struct spa_pod latency,
struct spa_latency_info info 
)
inlinestatic

◆ spa_latency_build()

static struct spa_pod * spa_latency_build ( struct spa_pod_builder builder,
uint32_t  id,
const struct spa_latency_info info 
)
inlinestatic

◆ spa_process_latency_parse()

static int spa_process_latency_parse ( const struct spa_pod latency,
struct spa_process_latency_info info 
)
inlinestatic

◆ spa_process_latency_build()

static struct spa_pod * spa_process_latency_build ( struct spa_pod_builder builder,
uint32_t  id,
const struct spa_process_latency_info info 
)
inlinestatic

◆ spa_process_latency_info_add()

static int spa_process_latency_info_add ( const struct spa_process_latency_info process,
struct spa_latency_info info 
)
inlinestatic

◆ spa_tag_compare()

static int spa_tag_compare ( const struct spa_pod a,
const struct spa_pod b 
)
inlinestatic

◆ spa_tag_parse()

static int spa_tag_parse ( const struct spa_pod tag,
struct spa_tag_info info,
void **  state 
)
inlinestatic

◆ spa_tag_info_parse()

static int spa_tag_info_parse ( const struct spa_tag_info info,
struct spa_dict dict,
struct spa_dict_item items 
)
inlinestatic

◆ spa_tag_build_start()

static void spa_tag_build_start ( struct spa_pod_builder builder,
struct spa_pod_frame f,
uint32_t  id,
enum spa_direction  direction 
)
inlinestatic
Examples
video-play.c, and video-src.c.

◆ spa_tag_build_add_info()

static void spa_tag_build_add_info ( struct spa_pod_builder builder,
const struct spa_pod info 
)
inlinestatic

◆ spa_tag_build_add_dict()

static void spa_tag_build_add_dict ( struct spa_pod_builder builder,
const struct spa_dict dict 
)
inlinestatic
Examples
video-play.c, and video-src.c.

◆ spa_tag_build_end()

static struct spa_pod * spa_tag_build_end ( struct spa_pod_builder builder,
struct spa_pod_frame f 
)
inlinestatic
Examples
video-play.c, and video-src.c.

◆ spa_format_video_dsp_parse()

static int spa_format_video_dsp_parse ( const struct spa_pod format,
struct spa_video_info_dsp info 
)
inlinestatic

◆ spa_format_video_dsp_build()

static struct spa_pod * spa_format_video_dsp_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_video_info_dsp info 
)
inlinestatic

◆ spa_format_video_h264_parse()

static int spa_format_video_h264_parse ( const struct spa_pod format,
struct spa_video_info_h264 info 
)
inlinestatic

◆ spa_format_video_h264_build()

static struct spa_pod * spa_format_video_h264_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_video_info_h264 info 
)
inlinestatic

◆ spa_format_video_mjpg_parse()

static int spa_format_video_mjpg_parse ( const struct spa_pod format,
struct spa_video_info_mjpg info 
)
inlinestatic

◆ spa_format_video_mjpg_build()

static struct spa_pod * spa_format_video_mjpg_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_video_info_mjpg info 
)
inlinestatic

◆ spa_format_video_raw_parse()

static int spa_format_video_raw_parse ( const struct spa_pod format,
struct spa_video_info_raw info 
)
inlinestatic

◆ spa_format_video_raw_build()

static struct spa_pod * spa_format_video_raw_build ( struct spa_pod_builder builder,
uint32_t  id,
struct spa_video_info_raw info 
)
inlinestatic

Variable Documentation

◆ spa_type_audio_format

const struct spa_type_info spa_type_audio_format[]
static

◆ spa_type_audio_flags

const struct spa_type_info spa_type_audio_flags[]
static

◆ spa_type_audio_channel

const struct spa_type_info spa_type_audio_channel[]
static

◆ spa_type_bluetooth_audio_codec

const struct spa_type_info spa_type_bluetooth_audio_codec[]
static

◆ spa_type_param_meta

const struct spa_type_info spa_type_param_meta[]
static

◆ spa_type_param_io

const struct spa_type_info spa_type_param_io[]
static

◆ spa_type_param_buffers

const struct spa_type_info spa_type_param_buffers[]
static

◆ spa_type_media_type

const struct spa_type_info spa_type_media_type[]
static

◆ spa_type_media_subtype

const struct spa_type_info spa_type_media_subtype[]
static

◆ spa_type_format

const struct spa_type_info spa_type_format[]
static

◆ spa_type_param_latency

const struct spa_type_info spa_type_param_latency[]
static

◆ spa_type_param_process_latency

const struct spa_type_info spa_type_param_process_latency[]
static

◆ spa_type_param

const struct spa_type_info spa_type_param[]
static

◆ spa_type_prop_float_array

const struct spa_type_info spa_type_prop_float_array[]
static

◆ spa_type_prop_channel_map

const struct spa_type_info spa_type_prop_channel_map[]
static

◆ spa_type_prop_iec958_codec

const struct spa_type_info spa_type_prop_iec958_codec[]
static

◆ spa_type_param_bitorder

const struct spa_type_info spa_type_param_bitorder[]
static

◆ spa_type_param_availability

const struct spa_type_info spa_type_param_availability[]
static

◆ spa_type_param_port_config_mode

const struct spa_type_info spa_type_param_port_config_mode[]
static

◆ spa_type_param_port_config

const struct spa_type_info spa_type_param_port_config[]
static

◆ spa_type_param_profile

const struct spa_type_info spa_type_param_profile[]
static

◆ spa_type_profiler

const struct spa_type_info spa_type_profiler[]
static

◆ spa_type_props

const struct spa_type_info spa_type_props[]
static

◆ spa_type_prop_info

const struct spa_type_info spa_type_prop_info[]
static

◆ spa_type_param_route

const struct spa_type_info spa_type_param_route[]
static

◆ spa_type_param_tag

const struct spa_type_info spa_type_param_tag[]
static

◆ spa_type_video_format

const struct spa_type_info spa_type_video_format[]
static
Examples
tutorial5.c.

◆ spa_type_video_flags

const struct spa_type_info spa_type_video_flags[]
static

◆ spa_type_video_interlace_mode

const struct spa_type_info spa_type_video_interlace_mode[]
static