parse static method
The format named name in a stream's info (channel_format). Some
writers use "double" and "float".
Implementation
static LSLChannelFormat parse(String name) {
final n = name.trim().toLowerCase();
for (final f in values) {
if (f.name == n) return f;
}
if (n == 'double') return double64;
if (n == 'float') return float32;
throw FormatException('Unknown channel format "$name"');
}