a bit better instruments display
This commit is contained in:
1 parent
39a1759601
commit
31c7834d3a
1 file changed
+3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user