11
General - (fb2k) / Re: Running Foobar in Linux
Last post by dpc666 -Anyway, in my testing, foo_httpcontrol server didn't start until I installed msxml6.
Based on how your plugin behaves/displays I guess you are calculating barwidth (vertical peakmeter) by first determining the total gauge gap by first multiplying the (unscaled) configuration value gauge gap times the number of channels (bars) to be displayed minus 1. Then I guess you scale this total gauge gap, subtract that value from the panelwidth and divide the result by the number of channels to find barwidth per bar. By scaling a calculated unscaled total gauge gap this value will be to high (except winth 200% and 300%), and subsequently your barwidth/barheight will be lower than I intended.You don't have to guess. The code is out in the open... ;-) That's almost exactly how the metrics are determined.
When you display bars, you apply single gauge gaps between channels leading to pixels that are left over and are distributed to the left of leftmost bar and to the right of rightmost bar.Please investigate ...Will do.
const FLOAT n = (FLOAT) _Analysis->_GaugeValues.size();
const FLOAT TotalBarGap = _State->_GaugeGap * (n - 1);
const FLOAT TickSize = 2.f;
const FLOAT TotalTickSize = (_GraphSettings->_YAxisLeft ? TickSize : 0.f) + (_GraphSettings->_YAxisRight ? TickSize : 0.f);
const FLOAT BarHeight = ::floor((_ClientSize.height - TotalBarGap - TotalTickSize) / n);
Ok, now the problem is clear.
So this one ? : https://hydrogenaud.io/index.php/topic,123331.msg1043493.html#msg1043493That was a test build for trying to hunt down the problem with KevinB's system, don't use that. It links against Universal CRT so it won't work without extra support libraries on anything older than Windows 10. Same is true with Clang compiles created in MSYS environment, so everything posted in this topic.