42 #ifndef __AUDACITY_TYPES_H__
43 #define __AUDACITY_TYPES_H__
46 #include <wx/string.h>
47 #include <wx/arrstr.h>
63 static_assert(
sizeof(
type) == 8,
"Wrong width of sampleCount");
93 wxASSERT(
value <= std::numeric_limits<size_t>::max());
197 #define SAMPLE_SIZE(SampleFormat) (SampleFormat >> 16)
253 #if !defined(AUDACITY_DLL_API)
263 #ifndef AUDACITY_DLL_API
264 #ifdef BUILDING_AUDACITY
265 #define AUDACITY_DLL_API _declspec(dllexport)
268 #define AUDACITY_DLL_API _declspec(dllimport)
270 #define AUDACITY_DLL_API
277 #ifndef __CONFIG_UNIX_INCLUDED
278 #define __CONFIG_UNIX_INCLUDED
279 #include "configunix.h"
284 #ifdef HAVE_VISIBILITY // this is provided by the configure script, is only
289 #ifndef AUDACITY_DLL_API
290 #ifdef BUILDING_AUDACITY
291 #define AUDACITY_DLL_API __attribute__((visibility("default")))
293 #define AUDACITY_DLL_API __attribute__((visibility("default")))
301 #if defined __CYGWIN__ && defined __GNUC__
302 #ifndef AUDACITY_DLL_API
303 #ifdef BUILDING_AUDACITY
304 #define AUDACITY_DLL_API _declspec(dllexport)
307 #define AUDACITY_DLL_API _declspec(dllimport)
309 #define AUDACITY_DLL_API
316 #endif // __AUDACITY_TYPES_H__
bool operator==(sampleCount a, sampleCount b)
sampleCount & operator-=(sampleCount b)
sampleCount operator-() const
sampleCount & operator--()
sampleCount & operator+=(sampleCount b)
bool operator>(sampleCount a, sampleCount b)
sampleCount(unsigned long long v)
sampleCount & operator/=(sampleCount b)
size_t limitSampleBufferSize(size_t bufferSize, sampleCount limit)
sampleCount(unsigned long v)
bool operator<(sampleCount a, sampleCount b)
sampleCount & operator*=(sampleCount b)
bool operator>=(sampleCount a, sampleCount b)
sampleCount operator*(sampleCount a, sampleCount b)
sampleCount & operator=(const sampleCount &)=default
sampleCount operator%(sampleCount a, sampleCount b)
enum ChannelName * ChannelNames
bool operator!=(sampleCount a, sampleCount b)
sampleCount operator+(sampleCount a, sampleCount b)
bool operator<=(sampleCount a, sampleCount b)
long long as_long_long() const
const char * constSamplePtr
sampleCount & operator%=(sampleCount b)
sampleCount operator-(sampleCount a, sampleCount b)
sampleCount operator/(sampleCount a, sampleCount b)
sampleCount & operator++()