diff --git a/sndlock.cpp b/sndlock.cpp index 4c1ccf0..f5992f2 100644 --- a/sndlock.cpp +++ b/sndlock.cpp @@ -201,6 +201,9 @@ int main(int argc, char* argv[]) std::atexit(SetShutdown); bool exit = false; + float plot_scale[SND_PCHAN]; + for(int i=0;i guard(lpf_hist_mutex); - ImGui::PlotLines(str, lpf_hist[i], 512, 0, 0, -0.0f, 0.01f, ImVec2(0, 200.0f)); + ImGui::PlotLines(str, lpf_hist[i], 512, 0, 0, -0.0f, plot_scale[i], ImVec2(0.0f, 200.0f)); } } }