ffiType property
Type
get
ffiType
Gets the underlying FFI NativeType for the channel format. @note This returns Type, not NativeType, because FFI types are not considered subtypes of NativeType.
Implementation
Type get ffiType {
switch (this) {
case LSLChannelFormat.float32:
return Float;
case LSLChannelFormat.double64:
return Double;
case LSLChannelFormat.int8:
return Int8;
case LSLChannelFormat.int16:
return Int16;
case LSLChannelFormat.int32:
return Int32;
case LSLChannelFormat.int64:
return Int64;
case LSLChannelFormat.string:
return Pointer<Char>;
case LSLChannelFormat.undefined:
return Void;
}
}