Pipewire::SPA::Pod
Constructors
new
Sourcenew(factory : PodFactory)
SourceEvents received from pipewire are not owned by us, but live only through the processing of the event. So a copy is made of the supplied buffer. Supply the read_only flag to avoid the copy, but be careful to not use the resulting pod after the event processing is done.
Class methods
format
SourceInstance methods
as_array(type_info_list = TypeInfoList.root)
Sourceas_fraction(headerfree = false)
Sourceas_object(type_info_list = TypeInfoList.root)
Sourceas_rectangle(headerfree = false)
Sourceas_string
Sourceas_struct(type_info_list = TypeInfoList.root)
Sourcepadded_size
Sourcesize
Sourceto_unsafe
Sourceto_value(type_info_list = TypeInfoList.root, type : LibSPA::PodType = self.type, headerfree = false) : Value
Sourcetype
SourceMacros
decode(type, slice)
Source