Function pipewire_sys::pw_context_connect_fd
source · pub unsafe extern "C" fn pw_context_connect_fd(
context: *mut pw_context,
fd: c_int,
properties: *mut pw_properties,
user_data_size: usize
) -> *mut pw_core
Expand description
Connect to a PipeWire instance on the given socket
\param context a \ref pw_context \param fd the connected socket to use, the socket will be closed automatically on disconnect or error. \param properties optional properties, ownership of the properties is taken. \param user_data_size extra user data size
\return a \ref pw_core on success or NULL with errno set on error