parse_chan
new = parse_chan(line, in, device, opts, error_out);
new = parse_chan(line, out, device, opts, error_out);
new = parse_chan(line, str, device, opts, error_out);