DONT KNOW :D

This commit is contained in:
Maurice Grönwoldt 2021-12-30 18:06:04 +01:00
commit 8505032307
44 changed files with 1360 additions and 275 deletions

View file

@ -37,7 +37,7 @@ int main(int argc, char **argv) {
if (helper.openDevices() < 0) {
ERR("Unable to find Keyboard!")
exit(0);
};
}
usleep(10000);
auto runner = VisAudioRunner::create();
runner->env = &config;
@ -46,7 +46,7 @@ int main(int argc, char **argv) {
runner->plugins->setCurrentMode(config.getAsInt("visual_mode", 1));
while (shouldRun) {
int mode;
LOGWN("Enter Visual Mode: %d-%d < 0 = EXIT:\t", 1, VIZSIZE)
LOGWN("Enter Visual Mode: %d-%d < 0 = EXIT: \n> ", 1, VIZSIZE)
std::cin >> mode;
if (std::cin.fail()) {
ERR("ERROR -- You did not enter an integer")