// Port of pflib/external/openal/oalOSX.h (Apple OpenAL, Playground SDK 4.0): the Mac OS X helper functions of // oalOSX.cpp. Only the six helpers the OpenAL classes need are declared here (ported in oalOSX.cpp); the rest of // oalOSX.cpp (IsRelativePath, MakeAbsolutePath, GetOALFormatFromASBD, the Get*String helpers, // IsValidRenderQuality, GetDefaultDeviceName, OALRingBuffer, the alut* functions) is not part of this port slice. #ifndef OALOSX_H_INCLUDED #define OALOSX_H_INCLUDED #include "oal_sysdecls.h" #include class CAStreamBasicDescription; class OALRingBuffer; uintptr_t GetNewPtrToken(void); ALuint GetNewToken(void); bool IsFormatSupported(UInt32 inFormatID); OSStatus FillInASBD(CAStreamBasicDescription& inASBD, UInt32 inFormatID, UInt32 inSampleRate); UInt32 CalculateNeededMixerBusses(const ALCint* attrList, UInt32 inDefaultBusCount); UInt32 GetDesiredRenderChannelsFor3DMixer(UInt32 inDeviceChannels); #endif