mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02:00
Added comment on hard coded sample rate.
This commit is contained in:
parent
860e19ae47
commit
0b75a8ab02
@ -286,6 +286,10 @@ Meter::Meter(wxWindow* parent, wxWindowID id,
|
|||||||
mRuler.SetFonts(GetFont(), GetFont(), GetFont());
|
mRuler.SetFonts(GetFont(), GetFont(), GetFont());
|
||||||
|
|
||||||
mTimer.SetOwner(this, OnMeterUpdateID);
|
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);
|
Reset(44100.0, true);
|
||||||
for(i=0; i<kMaxMeterBars; i++) {
|
for(i=0; i<kMaxMeterBars; i++) {
|
||||||
mBar[i].clipping = false;
|
mBar[i].clipping = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user