From 31c7834d3a96c1ddf9a4baea611cd4b11f28e6bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maksymilian=20Wilczy=C5=84ski?= Date: Sat, 17 May 2025 12:17:42 +0200 Subject: [PATCH] a bit better instruments display --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index b3718ec..9d5bf63 100644 --- a/main.cpp +++ b/main.cpp @@ -183,6 +183,9 @@ int main(int argc, char** argv) { bool shouldPlay = true; std::thread monitorThread([&]() { const int linesPerUpdate = 18; // 16 channels + header/footer + std::cout << "--- Active Instruments ---\n"; + ShowActiveInstruments(midiStream); + std::cout << "--------------------------\n"; while (BASS_ChannelIsActive(midiStream) == BASS_ACTIVE_PLAYING && shouldPlay) { std::this_thread::sleep_for(std::chrono::seconds(1)); ClearLines(linesPerUpdate);