1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 07:43:54 +02:00

Audacity.h: add include once ifndef to avoid macro redefinition warnings

This commit is contained in:
mchinen
2011-01-12 21:24:01 +00:00
parent c183075a01
commit 5751d765c1

View File

@@ -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__