1:1 source port of the engine and game code; Windows build and system layer; docs. No game files or SDK headers.
This commit is contained in:
parent
c3b032a45a
commit
0ecb47e9cb
3871 changed files with 91080 additions and 1640063 deletions
23
port/external/openal/oalOSX.h
vendored
Normal file
23
port/external/openal/oalOSX.h
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// 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 <stdint.h>
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue