Merge branch 'master' of https://github.com/calf-studio-gear/calf
[calf.git] / src / osctl.cpp
blob2fcc58e55bf2bc87a43c97c1a0e659fb77860a46
1 #include <calf/osctl.h>
3 const char *osctl::osc_type_name(osc_type type)
5 switch(type)
7 case osc_i32: return "i32";
8 case osc_i64: return "i64";
9 case osc_f32: return "f32";
10 case osc_ts: return "ts";
11 case osc_string: return "str";
12 case osc_string_alt: return "stralt";
13 case osc_blob: return "blob";
14 case osc_char: return "char";
15 case osc_rgba: return "rgba";
16 case osc_midi: return "midi";
17 case osc_true: return "TRUE";
18 case osc_false: return "FALSE";
19 case osc_nil: return "NIL";
20 case osc_inf: return "INF";
21 case osc_start_array: return "[";
22 case osc_end_array: return "]";
23 default:
24 return "unknown";