Added spdlog
This commit is contained in:
+5
-1
@@ -17,6 +17,8 @@
|
||||
#include "commands.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
|
||||
// TODO:
|
||||
//
|
||||
@@ -34,7 +36,7 @@
|
||||
// Keyboard interface:
|
||||
// Frame rate limit
|
||||
// Clean up reconnect code
|
||||
// Better log messages
|
||||
// Better log messages, compiled spdlog
|
||||
//
|
||||
// Get parameters from keyboard (width, height, etc)
|
||||
//
|
||||
@@ -50,6 +52,8 @@ const size_t height = BOTTOM_SKIP + KB_RESOLUTION + TOP_SKIP;
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
spdlog::set_level(spdlog::level::info);
|
||||
|
||||
// buffer size for waveform:
|
||||
// (44100 / fps * 10), make 10 bigger for slower scrolling
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user