mirror of
https://github.com/JS8Call-improved/JS8Call-improved
synced 2026-08-13 17:47:36 -04:00
Eliminate extra linear average gain
Linear average spectrum display seems fine as-is, without the gain doubling that current WSJTX gives it.
This commit is contained in:
parent
52f4ce07aa
commit
dff66fdcc5
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ CPlotter::draw(float swide[])
|
|||
{
|
||||
case Spectrum::Current: y += gain2d * (swide[i] - ymin ) + (m_flatten ? 0 : 15); break;
|
||||
case Spectrum::Cumulative: y += gain2d * sum(dec_data.savg, i) + (m_flatten ? 0 : 15); break;
|
||||
case Spectrum::LinearAvg: y += gain2d * sum(spectra_.syellow, i) * 2.0f; break;
|
||||
case Spectrum::LinearAvg: y += gain2d * sum(spectra_.syellow, i); break;
|
||||
}
|
||||
|
||||
m_points.emplace_back(i, static_cast<int>(0.9f * m_h2 - y * m_h2 / 70.0f));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue