24 #if defined(_WIN32) || defined(_WIN64)
26 using uint =
unsigned int;
35 #define snprintf c99_snprintf
37 inline int c99_vsnprintf(
char* str,
size_t size,
const char* format, va_list ap)
42 count = _vsnprintf_s(str, size, _TRUNCATE, format, ap);
44 count = _vscprintf(format, ap);
49 inline int c99_snprintf(
char* str,
size_t size,
const char* format, ...)
55 count = c99_vsnprintf(str, size, format, ap);
81 #endif // PREREQUISITES
OperationMode
Operation mode of the tuner.
Mode where the entropy optimization is carried out.
Mode for recording the piano keys.
int toFlag(OperationMode mode)
Mode for manually tuning the piano.