Changeset 33629 in project for wiki/eggref/4/ola


Ignore:
Timestamp:
09/06/16 03:25:29 (5 years ago)
Author:
John Foerch
Message:

eggref/4/ola: update for ola egg version 0.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/ola

    r33284 r33629  
     1
    12== ola
    23
     
    7071Construct a new dmxbuffer with the same contents as other-dmxbuffer.
    7172
    72 <procedure>(dmxbuffer blob) => dmxbuffer</procedure>
     73<procedure>(dmxbuffer bytevector) => dmxbuffer</procedure>
    7374
    74 Constructs a new dmxbuffer with the same contents as blob.
     75Constructs a new dmxbuffer with the same contents as bytevector.
    7576
    7677<procedure>(dmxbuffer? dmxbuffer) => bool</procedure>
     
    8687Size of dmxbuffer.
    8788
    88 <procedure>(dmxbuffer-get dmxbuffer) => blob</procedure>
     89<procedure>(dmxbuffer-get dmxbuffer) => bytevector</procedure>
    8990
    90 Return contents of dmxbuffer as a blob.
     91Return contents of dmxbuffer as a bytevector.
    9192
    9293<procedure>(dmxbuffer-get-channel dmxbuffer channel) => value</procedure>
     
    9495Return the value of the given channel in dmxbuffer.
    9596
    96 <procedure>(dmxbuffer-get-range dmxbuffer offset length) => blob</procedure>
     97<procedure>(dmxbuffer-get-range dmxbuffer offset length) => bytevector</procedure>
    9798
    98 Return a blob of the requested range in dmxbuffer.
     99Return a bytevector of the requested range in dmxbuffer.
    99100
    100 <procedure>(dmxbuffer-set! dmxbuffer blob offset size) => bool</procedure>
     101<procedure>(dmxbuffer-set! dmxbuffer bytevector offset size) => bool</procedure>
    101102
    102 Set the contents of dmxbuffer to contents of blob at given offset and size.
     103Set the contents of dmxbuffer to contents of bytevector at given offset and size.
    103104
    104 <procedure>(dmxbuffer-set! dmxbuffer blob) => bool</procedure>
     105<procedure>(dmxbuffer-set! dmxbuffer bytevector) => bool</procedure>
    105106
    106 Set the contents of dmxbuffer to contents of blob.
     107Set the contents of dmxbuffer to contents of bytevector.
    107108
    108109<procedure>(dmxbuffer-set! dmxbuffer dmxbuffer-other) => bool</procedure>
     
    118119Complement of dmxbuffer->string.  Sets the contents of dmxbuffer according to the specially formatted string str.  The format of the string is integers separated by commas, where 0's may be omitted, e.g. "1,2,,255"
    119120
    120 <procedure>(dmxbuffer-set-range! dmxbuffer dst-offset blob) => bool</procedure>
     121<procedure>(dmxbuffer-set-range! dmxbuffer dst-offset bytevector) => bool</procedure>
    121122
    122 Set contents of dmxbuffer from dst-offset to contents of blob.
     123Set contents of dmxbuffer from dst-offset to contents of bytevector.
    123124
    124 <procedure>(dmxbuffer-set-range! dmxbuffer dst-offset blob src-offset src-length) => bool</procedure>
     125<procedure>(dmxbuffer-set-range! dmxbuffer dst-offset bytevector src-offset src-length) => bool</procedure>
    125126
    126 Set contents of dmxbuffer from dst-offset to contents of blob, from src-offset, src-length bytes.
     127Set contents of dmxbuffer from dst-offset to contents of bytevector, from src-offset, src-length bytes.
    127128
    128129<procedure>(dmxbuffer-set-range-to-value! dmxbuffer offset value length) => bool</procedure>
     
    169170
    170171<enscript>
    171 (use ola)
     172(use ola r7rs)
    172173(let ((client (streamingclient auto-start: #f)))
    173   (streamingclient-send-dmx client 0 (dmxbuffer (string->blob "AeIoUaEiO"))))
     174  (streamingclient-send-dmx client 0 (dmxbuffer (string->utf8 "AeIoUaEiO"))))
    174175</enscript>
    175176
     
    185186* 0.2 (2016-03-13) meta and documentation
    186187* 0.3 (2016-03-13) streamingclient-setup removed, ola-version added
     188* 0.4 (2016-09-05) use bytevectors instead of blobs
Note: See TracChangeset for help on using the changeset viewer.