diff --git a/src/Audacity.h b/src/Audacity.h index 02f5ae64b..d4be870b9 100644 --- a/src/Audacity.h +++ b/src/Audacity.h @@ -152,14 +152,5 @@ void QuitAudacity(); #endif #endif -// Indentation settings for Vim and Emacs and unique identifier for Arch, a -// version control system. Please do not modify past this point. -// -// Local Variables: -// c-basic-offset: 3 -// indent-tabs-mode: nil -// End: -// -// vim: et sts=3 sw=3 -// arch-tag: 21aef079-ec47-4ff9-a359-7d159e2ba0e6 - +// This macro is used widely, so declared here. +#define QUANTIZED_TIME(time, rate) ((double)((sampleCount)floor(((time) * (rate)) + 0.5))) / (rate)