Liking cljdoc? Tell your friends :D

clj-artnet.impl.protocol.dmx

Pure DMX merge and processing logic (Art-Net 4).

Pure DMX merge and processing logic (Art-Net 4).
raw docstring

any-port-merging?clj

(any-port-merging? state)

Returns true if any port is merging multiple sources.

Returns true if any port is merging multiple sources.
sourceraw docstring

artsync-timeout-nsclj

ArtSync timeout (4s).

ArtSync timeout (4s).
sourceraw docstring

at-source-limit?clj

(at-source-limit? sources source-key)

Returns true if adding new source exceeds limit (2).

Returns true if adding new source exceeds limit (2).
sourceraw docstring

default-sync-buffer-ttl-nsclj

Default sync buffer TTL (1s).

Default sync buffer TTL (1s).
sourceraw docstring

dmx-source-keyclj

(dmx-source-key sender packet)

Returns unique key [host physical] for DMX source.

Returns unique key [host physical] for DMX source.
sourceraw docstring

extract-dmx-bytesclj

(extract-dmx-bytes packet)

Extracts DMX data as byte array from packet.

Extracts DMX data as byte array from packet.
sourceraw docstring

max-merge-sourcesclj

Max merge sources per port (2).

Max merge sources per port (2).
sourceraw docstring

merge-htpclj

(merge-htp old new)

Returns new byte array with max value at each position (HTP).

Returns new byte array with max value at each position (HTP).
sourceraw docstring

merge-ltpclj

(merge-ltp _old new)

Returns clone of new data (LTP).

Returns clone of new data (LTP).
sourceraw docstring

merge-source-timeout-nsclj

Timeout for merge sources (10s).

Timeout for merge sources (10s).
sourceraw docstring

merge-sourcesclj

(merge-sources mode sources)

Returns merged source data using specified mode (:htp/:ltp).

Returns merged source data using specified mode (:htp/:ltp).
sourceraw docstring

merge-sources-htpclj

(merge-sources-htp sources)

Returns {:data bytes :length N} merged via HTP.

Returns {:data bytes :length N} merged via HTP.
sourceraw docstring

merge-sources-ltpclj

(merge-sources-ltp sources)

Returns {:data bytes :length N} from most recent source (LTP).

Returns {:data bytes :length N} from most recent source (LTP).
sourceraw docstring

port-merge-modeclj

(port-merge-mode state port-index)

Returns merge mode for port index. Default :htp.

Returns merge mode for port index. Default :htp.
sourceraw docstring

process-artdmx-mergeclj

(process-artdmx-merge state packet sender timestamp)

Processes ArtDmx packet with multi-source merge tracking.

Returns map: :state - updated state :output-data - bytes :output-length - int :emit? - boolean :merging? - boolean :source-rejected? - boolean

Processes ArtDmx packet with multi-source merge tracking.

Returns map:
  :state           - updated state
  :output-data     - bytes
  :output-length   - int
  :emit?           - boolean
  :merging?        - boolean
  :source-rejected? - boolean
sourceraw docstring

prune-by-ageclj

(prune-by-age m now cutoff-ns)
(prune-by-age m now cutoff-ns timestamp-key)

Returns map with entries older than cutoff-ns removed.

Returns map with entries older than cutoff-ns removed.
sourceraw docstring

prune-merge-sourcesclj

(prune-merge-sources sources timestamp)

Returns sources map with stale entries removed.

Returns sources map with stale entries removed.
sourceraw docstring

sync-sender-matches?clj

(sync-sender-matches? state sync-sender)

Returns true if ArtSync sender matches recent ArtDmx sender.

Returns true if ArtSync sender matches recent ArtDmx sender.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close