lsl_get_xml function
Retrieve the entire streaminfo in XML format.
This yields an XML document (in string form) whose top-level element is <info>. The info
element contains one element for each field of the streaminfo class, including:
- the core elements <name>,<type>,<channel_count>,<nominal_srate>,<channel_format>,<source_id>
- the misc elements <version>,<created_at>,<uid>,<session_id>,<v4address>,<v4data_port>,<v4service_port>,<v6address>,<v6data_port>,<v6service_port>
- the extended description element <desc>with user-defined sub-elements. @return A pointer to a copy of the XML text or NULL in the event that an error occurred. @note It is the user's responsibility to deallocate this string when it is no longer needed.
Implementation
@ffi.Native<NativeLsl_get_xml>()
external ffi.Pointer<ffi.Char> lsl_get_xml(lsl_streaminfo info);