1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 16:09:28 +02:00

Added comment on hard coded sample rate.

This commit is contained in:
james.k.crook@gmail.com 2012-03-25 20:53:59 +00:00
parent 860e19ae47
commit 0b75a8ab02

View File

@ -286,6 +286,10 @@ Meter::Meter(wxWindow* parent, wxWindowID id,
mRuler.SetFonts(GetFont(), GetFont(), GetFont());
mTimer.SetOwner(this, OnMeterUpdateID);
// TODO: Yikes. Hard coded sample rate.
// JKC: I've looked at this, and it's benignish. It just means that the meter
// balistics are right for 44KHz and a bit more frisky than they should be
// for higher sample rates.
Reset(44100.0, true);
for(i=0; i<kMaxMeterBars; i++) {
mBar[i].clipping = false;