버전
menu

Wwise SDK 2025.1.0
AkPlatforms.h 파일 참조

이 파일의 소스 코드 페이지로 가기

매크로

#define AK_ALIGN(_declaration_, _alignment_)   _declaration_ __attribute__( ( aligned( _alignment_ ) ) )
 
#define AK_ALIGN_TO_NEXT_BOUNDARY(__num__, __boundary__)   (((__num__) + ((__boundary__)-1)) & ~((__boundary__)-1))
 
#define AK_IS_POWER_OF_TWO(__num__)   (((__num__) & ((__num__) - 1)) == 0)
 
#define AK_ENDIANNESS_LITTLE
 
#define AK_UNALIGNED
 AK_UNALIGNED refers to the __unaligned compilation flag available on some platforms. Note that so far, on the tested platform this should always be placed before the pointer symbol *. 더 자세히 ...
 
#define AK_SELECTANY
 
#define AK_NODISCARD   [[nodiscard]]
 
#define AK_POINTER_64
 
#define AK_UNUSEDVAR(x)   ((void)(x))
 
#define AK_THREAD_LOCAL
 
#define AkAllocaTypedArray(_type_, _count_)   ( (_type_*)AkAlloca(sizeof(_type_) * _count_) )
 Stack allocation helpers 더 자세히 ...
 

상세한 설명

Audiokinetic platform checks. This is where we detect which platform is being compiled, and where we define the corresponding AK-specific symbols.

AkPlatforms.h 파일에서 정의되었습니다.

Defines the parameters of a marker.
Definition: AkAudioMarker.h:16
AkEventCallbackFunc AkCallbackFunc
AKSOUNDENGINE_API AkUInt32 GetSampleRate()
Definition of data structures for AkAudioObject
Software effect plug-in interface (see Creating Sound Engine Effect Plug-ins).
Definition: IAkPlugin.h:801
Wwise sound engine source plug-in interface (see Creating Sound Engine Source Plug-ins).
Definition: IAkPlugin.h:1253
enum AkPanningRule ePanningRule
AkUInt32 dwIdentifier
Identifier.
Definition: AkAudioMarker.h:17
AkUInt64 AkGameObjectID
Game object ID
Definition: AkTypedefs.h:47
AkUInt32 uNumChannels
Number of channels.
AKSOUNDENGINE_API AKRESULT RegisterGameObj(AkGameObjectID in_gameObjectID)
AkUInt32 dwLabelSize
Length of label read the from the file + terminating null character.
Definition: AkAudioMarker.h:20
AKSOUNDENGINE_API AkUInt32 GetDeviceID(IMMDevice *in_pDevice)
Platform-independent initialization settings of output devices.
AKSOUNDENGINE_API AKRESULT SetOfflineRenderingFrameTime(AkReal32 in_fFrameTimeInSeconds)
uint8_t AkUInt8
Unsigned 8-bit integer
AkUInt32 AkUniqueID
Unique 32-bit ID
Definition: AkTypedefs.h:39
AKSOUNDENGINE_API AKRESULT Init(const AkCommSettings &in_settings)
@ AK_EndOfEvent
Callback triggered when reaching the end of an event. No additional callback information.
float AkReal32
32-bit floating point
@ AkPanningRule_Speakers
Left and right positioned 60 degrees apart (by default - see AK::SoundEngine::GetSpeakerAngles()).
Definition: AkEnums.h:244
AKSOUNDENGINE_API AKRESULT ReplaceOutput(const AkOutputSettings &in_Settings, AkOutputDeviceID in_outputDeviceId, AkOutputDeviceID *out_pOutputDeviceId=NULL)
@ AK_Marker
Callback triggered when encountering a marker during playback. Callback info can be cast to AkMarkerC...
virtual ConversionResult ConvertFile(const GUID &in_guidPlatform, const BasePlatformID &in_basePlatform, const AkOSChar *in_szSourceFile, const AkOSChar *in_szDestFile, AkUInt32 in_uSampleRate, AkUInt32 in_uBlockLength, IProgress *in_pProgress, IWriteString *io_pError) const =0
Converts a file.
AKSOUNDENGINE_API void Term()
AkInt32 AkTimeMs
Time in ms
Definition: AkTypedefs.h:43
#define AK_SPEAKER_SETUP_DOLBY_7_1_4
Dolby 7.1.4 setup channel mask
AK_ID_DECLARE BasePlatformID PS5
Definition: PlatformID.h:106
AK_ID_DECLARE BasePlatformID Windows
Definition: PlatformID.h:94
AKSOUNDENGINE_API AKRESULT RegisterCaptureCallback(AkCaptureCallbackFunc in_pfnCallback, AkOutputDeviceID in_idOutput=AK_INVALID_OUTPUT_DEVICE_ID, void *in_pCookie=NULL)
AKSOUNDENGINE_API AKRESULT RenderAudio(bool in_bAllowSyncRender=true)
Wwise API for general Audio Plug-in's backend.
Definition: AudioPlugin.h:133
bool SetMediaSource(const AkOSChar *in_pszFilePathToImport, unsigned int in_Index, bool in_bReplace)
Requests to set the specified file as a data input file.
AKSOUNDENGINE_API AKRESULT UnregisterCaptureCallback(AkCaptureCallbackFunc in_pfnCallback, AkOutputDeviceID in_idOutput=AK_INVALID_OUTPUT_DEVICE_ID, void *in_pCookie=NULL)
ConversionResult
Conversion error code.
Definition: PluginDef.h:148
virtual IAkMarkerNotificationService * CreateMarkerNotificationService(IAkSourcePluginContext *in_pSourcePluginContext)=0
#define NULL
Definition: AkTypedefs.h:33
@ AK_Fail
The operation failed.
Definition: AkEnums.h:35
struct AkChannelConfig channelConfig
AKRESULT
Definition: AkEnums.h:32
AKSOUNDENGINE_API AKRESULT SetOfflineRendering(bool in_bEnableOfflineRendering)
AKSOUNDENGINE_API AKRESULT AddOutput(const AkOutputSettings &in_Settings, AkOutputDeviceID *out_pDeviceID=NULL, const AkGameObjectID *in_pListenerIDs=NULL, AkUInt32 in_uNumListeners=0)
AKSOUNDENGINE_API AkUInt32 GetDeviceIDFromName(wchar_t *in_szToken)
AkForceInline void SetStandard(AkUInt32 in_uChannelMask)
Set channel config as a standard configuration specified with given channel mask.
const char * strLabel
Label of the marker taken from the file.
Definition: AkAudioMarker.h:19
AkCallbackType
Type of callback. Used as a bitfield in methods AK::SoundEngine::PostEvent() and AK::SoundEngine::Dyn...
AkUniqueID audioDeviceShareset
#define AK_GET_PLUGIN_SERVICE_MARKERS(plugin_ctx)
Definition: IAkPlugin.h:1931
uint32_t AkUInt32
Unsigned 32-bit integer
HashParams::HashType Compute(const void *in_pData, typename HashParams::SizeType in_dataSize)
Definition: AkFNVHash.h:105
AkUInt32 dwPosition
Position in the audio data in sample frames.
Definition: AkAudioMarker.h:18
#define AK_SPEAKER_SETUP_STEREO
2.0 setup channel mask
@ AK_Success
The operation was successful.
Definition: AkEnums.h:34
static const AkPluginParamID ALL_PLUGIN_DATA_ID
Definition: IAkPlugin.h:726
AKSOUNDENGINE_API AkPlayingID PostEvent(AkUniqueID in_eventID, AkGameObjectID in_gameObjectID, AkUInt32 in_uFlags=0, AkCallbackFunc in_pfnCallback=NULL, void *in_pCookie=NULL, AkUInt32 in_cExternals=0, AkExternalSourceInfo *in_pExternalSources=NULL, AkPlayingID in_PlayingID=AK_INVALID_PLAYING_ID)
Defines the parameters of an audio buffer format.
Definition: AkCommonDefs.h:61
AkUInt64 AkOutputDeviceID
Audio Output device ID
Definition: AkTypedefs.h:72
AkUInt32 AkPlayingID
A unique identifier generated whenever a PostEvent is called (or when a Dynamic Sequence is created)....
Definition: AkTypedefs.h:42
AkForceInline AkUInt16 MaxFrames() const
Definition: AkCommonDefs.h:501

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요