mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
(bug 123, P2) Add a macro for Martyn to use in his work on fixing this bug.
This commit is contained in:
parent
702894c67d
commit
1a05037beb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user