mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 17:10:55 +02:00
Audacity.h: add include once ifndef to avoid macro redefinition warnings
This commit is contained in:
parent
c183075a01
commit
5751d765c1
@ -20,6 +20,9 @@
|
||||
|
||||
*//********************************************************************/
|
||||
|
||||
#ifndef __AUDACITY_H__
|
||||
#define __AUDACITY_H__
|
||||
|
||||
// Set to 0 for a release version and 1 for a beta version
|
||||
#define IS_BETA 1
|
||||
|
||||
@ -168,3 +171,5 @@ void QuitAudacity();
|
||||
|
||||
// This macro is used widely, so declared here.
|
||||
#define QUANTIZED_TIME(time, rate) ((double)((sampleCount)floor(((double)(time) * (rate)) + 0.5))) / (rate)
|
||||
|
||||
#endif // __AUDACITY_H__
|
||||
|
Loading…
x
Reference in New Issue
Block a user