Pipewire::Base(T)
Constructors
Instance methods
Macros
Defines a getter method that delegates to the method with the same name on the pointer value.
The argument is a type node with the name and the return type.
If the return type inherits Base, the object returned by the pointer value method is wrapped in the return type.
If the return type is String, the object returned by the pointer value method is passed to String.new (intended for LibC::Char*).
Otherwise, the object returned by the pointer value method is returned.
Defines a getter method similar to value_getter, but wraps the values into a Slice.
The first argument is a type node containing the name and the iteration type.
The iteration type must inherit Base.
The second argument is optional and defaults to n_#{name}, which seems to be the standard naming scheme in the Pipewire API.
Usage:
value_slice items : ItemType, n_items