Something went wrong. Try again.
Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
532 B · 35 lines
C
at android
123456789101112131415161718192021222324252627282930313233343536#ifndef COMPONENTSINTERNAL_H#define COMPONENTSINTERNAL_H
class CarbonComponent{public: virtual ~CarbonComponent() {}};
inline static UInt32 GetComponentType(Component comp){ long l = long(comp); return l & 0xffff0000;}
inline static UInt32 GetComponentIndex(Component comp){ long l = long(comp); return l & 0xffff;}
inline static Component CreateComponent(UInt32 type, UInt32 index){ long l = type & 0xffff0000; l |= (index & 0xffff); return (void*) l;}
enum{ kComponentTypeAudioUnit = 'au\0\0'};
#endif