No matching definitions.

osc/bundle

src/osc/bundle.tur
defn

bundle-new

(bundle-new [timetag :float] :int)

create a new OSC bundle with the given timetag.

timetagNTP seconds component of the bundle timetag (fractional part is 0)

Bundle :int handle; pass to bundle-add-msg, bundle-free, and client-send-bundle.

(let [b (bundle-new 0.0)]
    ...)

Since: OSC0

defn

bundle-add-msg

(bundle-add-msg [b :int m :int] :void)

add an OSC message to a bundle.

bbundle :int (return value of bundle-new)
mwrapper :int (return value of msg-new from osc/msg)

void Note: The bundle takes ownership of the lo_message inside the wrapper. Do not call msg-free after adding a message to a bundle; call bundle-free instead, which will free the underlying lo_message objects.

(bundle-add-msg b m)

Since: OSC0

defn

bundle-free

(bundle-free [b :int] :void)

free a bundle and all messages it owns.

bbundle :int (return value of bundle-new)

void

(bundle-free b)

Since: OSC0