27 #ifndef _AAX_UTILSNATIVE_H_
28 #define _AAX_UTILSNATIVE_H_
45 #pragma mark Utility function declarations
53 inline double SafeLog (
double aValue) {
return aValue <= 0.0 ? 0.0 : log(aValue); }
58 inline float SafeLogf (
float aValue) {
return aValue <= 0.0f ? 0.0f : logf(aValue); }
70 inline AAX_CBoolean IsAvidNotification (
AAX_CTypeID inNotificationID ) {
return static_cast<AAX_CBoolean>((
'AX ' <= inNotificationID &&
'AX~~' >= inNotificationID) || (inNotificationID ==
'ASPv')); }
74 #endif // #ifndef _TMS320C6X
76 #endif // #ifndef _AAX_UTILSNATIVE_H_
Various utility definitions for AAX.
uint8_t AAX_CBoolean
Cross-compiler boolean type used by AAX interfaces.
Definition: AAX.h:110
uint32_t AAX_CTypeID
Matches type of OSType used in classic plugins.
Definition: AAX.h:117
A simple string container that can be passed across a binary boundary. This class, for simplicity, is not versioned and thus can never change.
Definition: AAX_IString.h:40
virtual const char * Get() const =0
const char * AAX_CParamID
Parameter identifier.
Definition: AAX.h:128
A generic AAX string class with similar functionality to std::string.
Declarations for cross-platform AAX_ASSERT, AAX_TRACE and related facilities.