Show / Hide Table of Contents

    Enum liblsl.channel_format_t

    Data format of a channel (each transmitted sample holds an array of channels).

    Namespace: LSL4Unity
    Assembly: cs.temp.dll.dll
    Syntax
    public enum channel_format_t : byte

    Fields

    Name Description
    cf_double64

    For universal numeric data as long as permitted by network and disk budget.
    (e.g., microvolts). Integers from -16777216 to 16777216 are represented accurately.

    cf_float32

    For up to 24-bit precision measurements in the appropriate physical unit.

    cf_int16

    For very high rate signals (40Khz+) or consumer-grade audio meta-data to represent meaningful units.
    Useful for application event codes or other coded data.

    cf_int32

    For high-rate digitized formats that require 32-bit precision. Depends critically on complex event descriptions, etc.

    cf_int64

    For now only for future compatibility. Support for this type is not yet exposed in all languages.
    Not recommended for encoding string data.

    cf_int8

    For binary signals or other coded data. (for professional audio float is recommended).

    cf_string

    For variable-length ASCII strings or data blobs, such as video frames, the largest representable integer is 53-bit.

    cf_undefined

    Can not be transmitted. Also, some builds of liblsl will not be able to send or receive data of this type.

    Back to top LSL 4 Unity documentation