new buffer thingy

This commit is contained in:
Ryzerth
2021-06-28 22:06:42 +02:00
parent 192e86064c
commit dff9ec2d37
4 changed files with 121 additions and 2 deletions

View File

@ -459,6 +459,10 @@ void MainWindow::draw() {
ImGui::Checkbox("Show demo window", &demoWindow);
ImGui::Text("ImGui version: %s", ImGui::GetVersion());
ImGui::Checkbox("Bypass buffering", &sigpath::signalPath.inputBuffer.bypass);
ImGui::Text("Buffering: %d", (sigpath::signalPath.inputBuffer.writeCur - sigpath::signalPath.inputBuffer.readCur + 20) % 20);
if (ImGui::Button("Test Bug")) {
spdlog::error("Will this make the software crash?");
}