目录

include/AK/SoundEngine/Common/AkSoundEngine.h

Go to the documentation of this file.
00001 
00002 //
00003 // Copyright (c) 2006 Audiokinetic Inc. / All Rights Reserved
00004 //
00006 
00007 // AkSoundEngine.h
00008 
00011 
00012 
00013 #ifndef _AK_SOUNDENGINE_H_
00014 #define _AK_SOUNDENGINE_H_
00015 
00016 #include <AK/SoundEngine/Common/AkSoundEngineExport.h>
00017 #include <AK/SoundEngine/Common/AkTypes.h>
00018 #include <AK/SoundEngine/Common/IAkPlugin.h>
00019 #include <AK/SoundEngine/Common/AkCallback.h>
00020 
00021 #ifdef AK_WIN
00022 #include <AK/SoundEngine/Platforms/Windows/AkWinSoundEngine.h>
00023 
00024 #elif defined (AK_MAC_OS_X)
00025 #include <AK/SoundEngine/Platforms/Mac/AkMacSoundEngine.h>
00026 
00027 #elif defined (AK_IOS)
00028 #include <AK/SoundEngine/Platforms/iOS/AkiOSSoundEngine.h>
00029 
00030 #elif defined (AK_XBOX360)
00031 #include <AK/SoundEngine/Platforms/XBox360/AkXBox360SoundEngine.h>
00032 
00033 #elif defined (AK_XBOXONE)
00034 #include <AK/SoundEngine/Platforms/XboxOne/AkXboxOneSoundEngine.h>
00035 
00036 #elif defined (__PPU__) || defined (__SPU__)
00037 #include <AK/SoundEngine/Platforms/PS3/AkPs3SoundEngine.h>
00038 
00039 #elif defined (AK_WII_FAMILY)
00040 #include <AK/SoundEngine/Platforms/WiiFamily/AkWiiSoundEngine.h>
00041 
00042 #elif defined (AK_VITA)
00043 #include <AK/SoundEngine/Platforms/Vita/AkVitaSoundEngine.h>
00044 
00045 #elif defined( AK_3DS )
00046 #include <AK/SoundEngine/Platforms/3DS/Ak3DSSoundEngine.h>
00047 
00048 #elif defined( AK_ANDROID )
00049 #include <AK/SoundEngine/Platforms/Android/AkAndroidSoundEngine.h>
00050 
00051 #elif defined( AK_NACL )
00052 #include <AK/SoundEngine/Platforms/nacl/AkNaclSoundEngine.h>
00053 
00054 #elif defined (AK_PS4)
00055 #include <AK/SoundEngine/Platforms/PS4/AkPS4SoundEngine.h>
00056 
00057 #elif defined( AK_LINUX )
00058 #include <AK/SoundEngine/Platforms/Linux/AkLinuxSoundEngine.h>
00059 
00060 #elif defined( AK_QNX  )
00061 #include <AK/SoundEngine/Platforms/QNX/AkQNXSoundEngine.h>
00062 
00063 #else
00064 #error AkSoundEngine.h: Undefined platform
00065 #endif
00066 
00067 #ifndef AK_ASSERT_HOOK
00068 
00069 
00070 
00071     AK_CALLBACK( void, AkAssertHook)( 
00072         const char * in_pszExpression,  
00073         const char * in_pszFileName,    
00074         int in_lineNumber               
00075         );
00076     #define AK_ASSERT_HOOK
00077 #endif
00078 
00093 typedef AKRESULT ( * AkAudioSourceChangeCallbackFunc )(
00094     bool in_bOtherAudioPlaying, 
00095     void* in_pCookie 
00096     );
00097 
00099 struct AkOutputSettings
00100 {
00101     AkPanningRule   ePanningRule;   
00102 
00103 
00104     AkChannelConfig channelConfig;  
00105 
00106 
00107     AkCreatePluginCallback pfSinkPluginFactory; 
00108 
00109 };
00110 
00117 struct AkInitSettings
00118 {
00119     AkAssertHook        pfnAssertHook;              
00120 
00121     AkUInt32            uMaxNumPaths;               
00122     AkUInt32            uMaxNumTransitions;         
00123     AkUInt32            uDefaultPoolSize;           
00124     AkReal32            fDefaultPoolRatioThreshold; 
00125     AkUInt32            uCommandQueueSize;          
00126     AkMemPoolId         uPrepareEventMemoryPoolID;  
00127     bool                bEnableGameSyncPreparation; 
00128     AkUInt32            uContinuousPlaybackLookAhead;   
00129 
00130 
00131     AkUInt32            uNumSamplesPerFrame;        
00132 
00133     AkUInt32            uMonitorPoolSize;           
00134     AkUInt32            uMonitorQueuePoolSize;      
00135 
00136     AkAudioAPI          eMainOutputType;            
00137     AkOutputSettings    settingsMainOutput;         
00138     AkUInt32            uMaxHardwareTimeoutMs;      
00139 
00140     bool                bUseSoundBankMgrThread;     
00141     bool                bUseLEngineThread;          
00142 
00143     AkAudioSourceChangeCallbackFunc sourceChangeCallback; 
00144     void* sourceChangeCallbackCookie; 
00145 };
00146 
00148 struct AkSourceSettings
00149 {
00150     AkUniqueID  sourceID;                           
00151     AkUInt8*    pMediaMemory;                       
00152     AkUInt32    uMediaSize;                         
00153 };
00154 
00156 namespace AK
00157 {
00160     namespace SoundEngine
00161     {
00164 
00165 
00173         AK_EXTERNAPIFUNC( bool, IsInitialized )();
00174 
00198         AK_EXTERNAPIFUNC( AKRESULT, Init )(
00199             AkInitSettings *            in_pSettings,           
00200             AkPlatformInitSettings *    in_pPlatformSettings    
00201             );
00202 
00209         AK_EXTERNAPIFUNC( void, GetDefaultInitSettings )(
00210             AkInitSettings &            out_settings            
00211             );
00212 
00230         AK_EXTERNAPIFUNC( void, GetDefaultPlatformInitSettings )(
00231             AkPlatformInitSettings &    out_platformSettings    
00232             );
00233         
00242         AK_EXTERNAPIFUNC( void, Term )();
00243 
00256         AK_EXTERNAPIFUNC( AkChannelConfig, GetSpeakerConfiguration )(
00257             AkAudioOutputType   in_eSinkType = AkOutput_Main,   
00258             AkUInt32            in_iOutputID = 0            
00259             );
00260 
00268         AK_EXTERNAPIFUNC( AKRESULT, GetPanningRule )(
00269             AkPanningRule &     out_ePanningRule,           
00270             AkAudioOutputType   in_eSinkType = AkOutput_Main,   
00271             AkUInt32            in_iOutputID = 0            
00272             );
00273 
00277         AK_EXTERNAPIFUNC( AKRESULT, SetPanningRule )( 
00278             AkPanningRule       in_ePanningRule,            
00279             AkAudioOutputType   in_eSinkType = AkOutput_Main,   
00280             AkUInt32            in_iOutputID = 0            
00281             );
00282 
00300         AK_EXTERNAPIFUNC( AKRESULT, GetSpeakerAngles )(
00301             AkReal32 *          io_pfSpeakerAngles,         
00302             AkUInt32 &          io_uNumAngles,              
00303             AkReal32 &          out_fHeightAngle,           
00304             AkAudioOutputType   in_eSinkType = AkOutput_Main,   
00305             AkUInt32            in_iOutputID = 0            
00306             );
00307         
00322         AK_EXTERNAPIFUNC( AKRESULT, SetSpeakerAngles )(
00323             AkReal32 *          in_pfSpeakerAngles,         
00324             AkUInt32            in_uNumAngles,              
00325             AkReal32            in_fHeightAngle,            
00326             AkAudioOutputType   in_eSinkType = AkOutput_Main,   
00327             AkUInt32            in_iOutputID = 0            
00328             );
00329 
00336         AK_EXTERNAPIFUNC( AKRESULT, SetVolumeThreshold )( 
00337             AkReal32 in_fVolumeThresholdDB 
00338             );
00339 
00346         AK_EXTERNAPIFUNC( AKRESULT, SetMaxNumVoicesLimit )( 
00347             AkUInt16 in_maxNumberVoices 
00348             );
00349                 
00351 
00354 
00355 
00363         AK_EXTERNAPIFUNC( AKRESULT, RenderAudio )();
00364 
00366 
00369 
00370         
00385         AK_EXTERNAPIFUNC( AKRESULT, RegisterPlugin )( 
00386             AkPluginType in_eType,                      
00387             AkUInt32 in_ulCompanyID,                    
00388             AkUInt32 in_ulPluginID,                     
00389             AkCreatePluginCallback in_pCreateFunc,      
00390             AkCreateParamCallback in_pCreateParamFunc   
00391             );
00392         
00406         AK_EXTERNAPIFUNC( AKRESULT, RegisterCodec )( 
00407             AkUInt32 in_ulCompanyID,                        
00408             AkUInt32 in_ulCodecID,                          
00409             AkCreateFileSourceCallback in_pFileCreateFunc,  
00410             AkCreateBankSourceCallback in_pBankCreateFunc   
00411             );
00412 
00420         AK_EXTERNAPIFUNC( AKRESULT, RegisterGlobalCallback )(
00421             AkGlobalCallbackFunc in_pCallback               
00422             );
00423 
00430         AK_EXTERNAPIFUNC( AKRESULT, UnregisterGlobalCallback )(
00431             AkGlobalCallbackFunc in_pCallback               
00432             );
00433 
00435 
00436 #ifdef AK_SUPPORT_WCHAR
00437 
00438 
00439 
00440 
00457         AK_EXTERNAPIFUNC( AkUInt32, GetIDFromString )( const wchar_t* in_pszString );
00458 #endif //AK_SUPPORT_WCHAR
00459 
00476         AK_EXTERNAPIFUNC( AkUInt32, GetIDFromString )( const char* in_pszString );
00477 
00479 
00482 
00483 
00500         AK_EXTERNAPIFUNC( AkPlayingID, PostEvent )(
00501             AkUniqueID in_eventID,                          
00502             AkGameObjectID in_gameObjectID,                 
00503             AkUInt32 in_uFlags = 0,                         
00504             AkCallbackFunc in_pfnCallback = NULL,           
00505             void * in_pCookie = NULL,                       
00506             AkUInt32 in_cExternals = 0,                     
00507             AkExternalSourceInfo *in_pExternalSources = NULL,
00508             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID
00509             );
00510 
00511 #ifdef AK_SUPPORT_WCHAR
00512 
00513 
00514 
00515 
00516 
00517 
00518 
00519 
00520 
00521 
00522 
00523 
00524 
00525 
00526 
00527 
00528         AK_EXTERNAPIFUNC( AkPlayingID, PostEvent )(
00529             const wchar_t* in_pszEventName,                 
00530             AkGameObjectID in_gameObjectID,                 
00531             AkUInt32 in_uFlags = 0,                         
00532             AkCallbackFunc in_pfnCallback = NULL,           
00533             void * in_pCookie = NULL,                       
00534             AkUInt32 in_cExternals = 0,                     
00535             AkExternalSourceInfo *in_pExternalSources = NULL,
00536             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID
00537             );
00538 #endif //AK_SUPPORT_WCHAR
00539 
00556         AK_EXTERNAPIFUNC( AkPlayingID, PostEvent )(
00557             const char* in_pszEventName,                    
00558             AkGameObjectID in_gameObjectID,                 
00559             AkUInt32 in_uFlags = 0,                         
00560             AkCallbackFunc in_pfnCallback = NULL,           
00561             void * in_pCookie = NULL,                       
00562             AkUInt32 in_cExternals = 0,                     
00563             AkExternalSourceInfo *in_pExternalSources = NULL,
00564             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID
00565             );
00566 
00567         
00571         enum AkActionOnEventType
00572         {
00573             AkActionOnEventType_Stop    = 0,            
00574             AkActionOnEventType_Pause   = 1,            
00575             AkActionOnEventType_Resume  = 2,            
00576             AkActionOnEventType_Break   = 3,            
00577             AkActionOnEventType_ReleaseEnvelope = 4     
00578         };
00579 
00583         AK_EXTERNAPIFUNC( AKRESULT, ExecuteActionOnEvent )(
00584             AkUniqueID in_eventID,                                              
00585             AkActionOnEventType in_ActionType,                                  
00586             AkGameObjectID in_gameObjectID = AK_INVALID_GAME_OBJECT,            
00587             AkTimeMs in_uTransitionDuration = 0,                                
00588             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
00589             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID                    
00590             );
00591 
00592 #ifdef AK_SUPPORT_WCHAR
00593 
00594 
00595 
00596         AK_EXTERNAPIFUNC( AKRESULT, ExecuteActionOnEvent )(
00597             const wchar_t* in_pszEventName,                                     
00598             AkActionOnEventType in_ActionType,                                  
00599             AkGameObjectID in_gameObjectID = AK_INVALID_GAME_OBJECT,            
00600             AkTimeMs in_uTransitionDuration = 0,                                
00601             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
00602             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID                    
00603             );
00604 #endif //AK_SUPPORT_WCHAR
00605 
00609         AK_EXTERNAPIFUNC( AKRESULT, ExecuteActionOnEvent )(
00610             const char* in_pszEventName,                                        
00611             AkActionOnEventType in_ActionType,                                  
00612             AkGameObjectID in_gameObjectID = AK_INVALID_GAME_OBJECT,            
00613             AkTimeMs in_uTransitionDuration = 0,                                
00614             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
00615             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID                    
00616             );
00617 
00618 
00631         AK_EXTERNAPIFUNC( AKRESULT, PinEventInStreamCache )(
00632             AkUniqueID in_eventID,                                          
00633             AkPriority in_uActivePriority,                                  
00634             AkPriority in_uInactivePriority                                 
00635             );
00636 
00637 #ifdef AK_SUPPORT_WCHAR
00638 
00639 
00640 
00641 
00642 
00643 
00644 
00645 
00646 
00647 
00648 
00649 
00650         AK_EXTERNAPIFUNC( AKRESULT, PinEventInStreamCache )(
00651             const wchar_t* in_pszEventName,                                 
00652             AkPriority in_uActivePriority,                                  
00653             AkPriority in_uInactivePriority                                 
00654             );
00655 #endif //AK_SUPPORT_WCHAR
00656 
00669         AK_EXTERNAPIFUNC( AKRESULT, PinEventInStreamCache )(
00670             const char* in_pszEventName,                                    
00671             AkPriority in_uActivePriority,                                  
00672             AkPriority in_uInactivePriority                                 
00673             );
00674 
00680         AK_EXTERNAPIFUNC( AKRESULT, UnpinEventInStreamCache )(
00681             AkUniqueID in_eventID                                           
00682             );  
00683 
00684 #ifdef AK_SUPPORT_WCHAR
00685 
00686 
00687 
00688 
00689 
00690         AK_EXTERNAPIFUNC( AKRESULT, UnpinEventInStreamCache )(
00691             const wchar_t* in_pszEventName                                  
00692             );
00693 #endif //AK_SUPPORT_WCHAR
00694 
00700         AK_EXTERNAPIFUNC( AKRESULT, UnpinEventInStreamCache )(
00701             const char* in_pszEventName                                     
00702             );
00703 
00710         AK_EXTERNAPIFUNC( AKRESULT, GetBufferStatusForPinnedEvent )(
00711             AkUniqueID in_eventID,                                          
00712             AkReal32& out_fPercentBuffered,                                 
00713             bool& out_bCachePinnedMemoryFull                                
00714             );
00715 
00722         AK_EXTERNAPIFUNC( AKRESULT, GetBufferStatusForPinnedEvent )(
00723             const char* in_pszEventName,                                    
00724             AkReal32& out_fPercentBuffered,                                 
00725             bool& out_bCachePinnedMemoryFull                                
00726             );
00727 
00728 #ifdef AK_SUPPORT_WCHAR
00729 
00730 
00731 
00732 
00733 
00734 
00735         AK_EXTERNAPIFUNC( AKRESULT, GetBufferStatusForPinnedEvent )(
00736             const wchar_t* in_pszEventName,                                 
00737             AkReal32& out_fPercentBuffered,                                 
00738             bool& out_bCachePinnedMemoryFull                                
00739             );
00740 #endif
00741 
00787         AK_EXTERNAPIFUNC( AKRESULT, SeekOnEvent )( 
00788             AkUniqueID in_eventID,                                      
00789             AkGameObjectID in_gameObjectID,                             
00790             AkTimeMs in_iPosition,                                      
00791             bool in_bSeekToNearestMarker = false,                       
00792             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID            
00793             );
00794 
00795 #ifdef AK_SUPPORT_WCHAR
00796 
00797 
00798 
00799 
00800 
00801 
00802 
00803 
00804 
00805 
00806 
00807 
00808 
00809 
00810 
00811 
00812 
00813 
00814 
00815 
00816 
00817 
00818 
00819 
00820 
00821 
00822 
00823 
00824 
00825 
00826 
00827 
00828 
00829 
00830 
00831 
00832 
00833 
00834 
00835 
00836 
00837 
00838 
00839 
00840 
00841 
00842 
00843         AK_EXTERNAPIFUNC( AKRESULT, SeekOnEvent )( 
00844             const wchar_t* in_pszEventName,                             
00845             AkGameObjectID in_gameObjectID,                             
00846             AkTimeMs in_iPosition,                                      
00847             bool in_bSeekToNearestMarker = false,                       
00848             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID            
00849             );
00850 #endif //AK_SUPPORT_WCHAR
00851 
00899         AK_EXTERNAPIFUNC( AKRESULT, SeekOnEvent )( 
00900             const char* in_pszEventName,                                
00901             AkGameObjectID in_gameObjectID,                             
00902             AkTimeMs in_iPosition,                                      
00903             bool in_bSeekToNearestMarker = false,                       
00904             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID            
00905             );
00906 
00953         AK_EXTERNAPIFUNC( AKRESULT, SeekOnEvent )( 
00954             AkUniqueID in_eventID,                                      
00955             AkGameObjectID in_gameObjectID ,                            
00956             AkReal32 in_fPercent,                                       
00957             bool in_bSeekToNearestMarker = false,                       
00958             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID            
00959             );
00960 
00961 #ifdef AK_SUPPORT_WCHAR
00962 
00963 
00964 
00965 
00966 
00967 
00968 
00969 
00970 
00971 
00972 
00973 
00974 
00975 
00976 
00977 
00978 
00979 
00980 
00981 
00982 
00983 
00984 
00985 
00986 
00987 
00988 
00989 
00990 
00991 
00992 
00993 
00994 
00995 
00996 
00997 
00998 
00999 
01000 
01001 
01002 
01003 
01004 
01005 
01006 
01007         AK_EXTERNAPIFUNC( AKRESULT, SeekOnEvent )( 
01008             const wchar_t* in_pszEventName,                             
01009             AkGameObjectID in_gameObjectID ,                            
01010             AkReal32 in_fPercent ,                                      
01011             bool in_bSeekToNearestMarker = false,                       
01012             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID            
01013             );
01014 #endif //AK_SUPPORT_WCHAR
01015 
01061         AK_EXTERNAPIFUNC( AKRESULT, SeekOnEvent )( 
01062             const char* in_pszEventName,                                
01063             AkGameObjectID in_gameObjectID,                             
01064             AkReal32 in_fPercent,                                       
01065             bool in_bSeekToNearestMarker = false,                       
01066             AkPlayingID in_PlayingID = AK_INVALID_PLAYING_ID            
01067             );
01068 
01072         AK_EXTERNAPIFUNC( void, CancelEventCallbackCookie )( 
01073             void * in_pCookie                           
01074             );
01075 
01079         AK_EXTERNAPIFUNC( void, CancelEventCallback )( 
01080             AkPlayingID in_playingID                    
01081             );
01082 
01097         AK_EXTERNAPIFUNC( AKRESULT, GetSourcePlayPosition )(
01098             AkPlayingID     in_PlayingID,               
01099             AkTimeMs*       out_puPosition,             
01100             bool            in_bExtrapolate = true      
01101             );
01102 
01119         AK_EXTERNAPIFUNC( AKRESULT, GetSourceStreamBuffering )(
01120             AkPlayingID     in_PlayingID,               
01121             AkTimeMs &      out_buffering,              
01122             bool &          out_bIsBuffering            
01123             );
01124 
01127         AK_EXTERNAPIFUNC( void, StopAll )( 
01128             AkGameObjectID in_gameObjectID = AK_INVALID_GAME_OBJECT 
01129             );
01130 
01132         AK_EXTERNAPIFUNC( void, StopPlayingID )( 
01133             AkPlayingID in_playingID,                                           
01134             AkTimeMs in_uTransitionDuration = 0,                                
01135             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear    
01136             );
01137 
01144         AK_EXTERNAPIFUNC( void, SetRandomSeed )( 
01145             AkUInt32 in_uSeed                                                   
01146             );
01147 
01151         AK_EXTERNAPIFUNC( void, MuteBackgroundMusic ) (
01152             bool in_bMute 
01153             );
01155 
01158 
01159         
01170         AK_EXTERNAPIFUNC( AKRESULT, RegisterGameObj )(
01171             AkGameObjectID in_gameObjectID,             
01172             AkUInt32 in_uListenerMask = 0x01            
01173             );
01174 
01185         AK_EXTERNAPIFUNC( AKRESULT, RegisterGameObj )(
01186             AkGameObjectID in_gameObjectID,             
01187             const char * in_pszObjName,                 
01188             AkUInt32 in_uListenerMask = 0x01            
01189             );
01190 
01204         AK_EXTERNAPIFUNC( AKRESULT, UnregisterGameObj )(
01205             AkGameObjectID in_gameObjectID              
01206 
01207             );
01208 
01221         AK_EXTERNAPIFUNC( AKRESULT, UnregisterAllGameObj )();
01222 
01230         AK_EXTERNAPIFUNC( AKRESULT, SetPosition )( 
01231             AkGameObjectID in_GameObjectID,     
01232             const AkSoundPosition & in_Position 
01233             );
01234 
01246         AK_EXTERNAPIFUNC( AKRESULT, SetMultiplePositions )( 
01247             AkGameObjectID in_GameObjectID,                     
01248             const AkSoundPosition * in_pPositions,              
01249             AkUInt16 in_NumPositions,                           
01250             MultiPositionType in_eMultiPositionType = MultiPositionType_MultiDirections 
01251             );
01252 
01258         AK_EXTERNAPIFUNC( AKRESULT, SetAttenuationScalingFactor )(
01259             AkGameObjectID in_GameObjectID,             
01260             AkReal32 in_fAttenuationScalingFactor       
01261             );
01262 
01268         AK_EXTERNAPIFUNC( AKRESULT, SetListenerScalingFactor )(
01269             AkUInt32 in_uListenerIndex,             
01270             AkReal32 in_fListenerScalingFactor      
01271             );
01272 
01274 
01277 
01278 
01288         AK_EXTERNAPIFUNC( AKRESULT, ClearBanks )();
01289 
01300         AK_EXTERNAPIFUNC( AKRESULT, SetBankLoadIOSettings )(
01301             AkReal32            in_fThroughput,         
01302             AkPriority          in_priority             
01303             );
01304 
01305 #ifdef AK_SUPPORT_WCHAR
01306 
01307 
01308 
01309 
01310 
01311 
01312 
01313 
01314 
01315 
01316 
01317 
01318 
01319 
01320 
01321 
01322 
01323 
01324 
01325 
01326 
01327 
01328 
01329 
01330 
01331 
01332 
01333 
01334 
01335 
01336 
01337 
01338 
01339 
01340 
01341 
01342 
01343 
01344 
01345 
01346 
01347 
01348 
01349 
01350 
01351         AK_EXTERNAPIFUNC( AKRESULT, LoadBank )(
01352             const wchar_t*      in_pszString,           
01353             AkMemPoolId         in_memPoolId,           
01354             AkBankID &          out_bankID              
01355             );
01356 #endif //AK_SUPPORT_WCHAR
01357 
01403         AK_EXTERNAPIFUNC( AKRESULT, LoadBank )(
01404             const char*         in_pszString,           
01405             AkMemPoolId         in_memPoolId,           
01406             AkBankID &          out_bankID              
01407             );
01408 
01445         AK_EXTERNAPIFUNC( AKRESULT, LoadBank )(
01446             AkBankID            in_bankID,              
01447             AkMemPoolId         in_memPoolId            
01448             );
01449 
01496         AK_EXTERNAPIFUNC( AKRESULT, LoadBank )(
01497             const void *        in_pInMemoryBankPtr,    
01498             AkUInt32            in_uInMemoryBankSize,   
01499             AkBankID &          out_bankID              
01500             );
01501 
01550         AK_EXTERNAPIFUNC( AKRESULT, LoadBank )(
01551             const void *        in_pInMemoryBankPtr,    
01552             AkUInt32            in_uInMemoryBankSize,   
01553             AkMemPoolId         in_uPoolForBankMedia,   
01554             AkBankID &          out_bankID              
01555             );
01556 
01557 #ifdef AK_SUPPORT_WCHAR
01558 
01559 
01560 
01561 
01562 
01563 
01564 
01565 
01566 
01567 
01568 
01569 
01570 
01571 
01572 
01573 
01574 
01575 
01576 
01577 
01578 
01579 
01580 
01581 
01582 
01583 
01584 
01585 
01586         // as AkFileSystemFlags::pCustomParam.
01600         AK_EXTERNAPIFUNC( AKRESULT, LoadBank )(
01601             const wchar_t*      in_pszString,           
01602             AkBankCallbackFunc  in_pfnBankCallback,     
01603             void *              in_pCookie,             
01604             AkMemPoolId         in_memPoolId,           
01605             AkBankID &          out_bankID              
01606             );
01607 #endif //AK_SUPPORT_WCHAR
01608 
01637         // as AkFileSystemFlags::pCustomParam.
01651         AK_EXTERNAPIFUNC( AKRESULT, LoadBank )(
01652             const char*         in_pszString,           
01653             AkBankCallbackFunc  in_pfnBankCallback,     
01654             void *              in_pCookie,             
01655             AkMemPoolId         in_memPoolId,           
01656             AkBankID &          out_bankID              
01657             );
01658 
01684         // as AkFileSystemFlags::pCustomParam.
01696         AK_EXTERNAPIFUNC( AKRESULT, LoadBank )(
01697             AkBankID            in_bankID,              
01698             AkBankCallbackFunc  in_pfnBankCallback,     
01699             void *              in_pCookie,             
01700             AkMemPoolId         in_memPoolId            
01701             );
01702 
01741         AK_EXTERNAPIFUNC( AKRESULT, LoadBank )(
01742             const void *        in_pInMemoryBankPtr,    
01743             AkUInt32            in_uInMemoryBankSize,   
01744             AkBankCallbackFunc  in_pfnBankCallback,     
01745             void *              in_pCookie,             
01746             AkBankID &          out_bankID              
01747             );
01748 
01789         AK_EXTERNAPIFUNC( AKRESULT, LoadBank )(
01790             const void *        in_pInMemoryBankPtr,    
01791             AkUInt32            in_uInMemoryBankSize,   
01792             AkBankCallbackFunc  in_pfnBankCallback,     
01793             void *              in_pCookie,             
01794             AkMemPoolId         in_uPoolForBankMedia,   
01795             AkBankID &          out_bankID              
01796             );
01797 
01798 #ifdef AK_SUPPORT_WCHAR
01799 
01800 
01801 
01802 
01803 
01804 
01805 
01806 
01807 
01808 
01809 
01810 
01811 
01812 
01813 
01814 
01815         AK_EXTERNAPIFUNC( AKRESULT, UnloadBank )(
01816             const wchar_t*      in_pszString,           
01817             const void *        in_pInMemoryBankPtr,    
01818             AkMemPoolId *       out_pMemPoolId = NULL   
01819             );
01820 #endif //AK_SUPPORT_WCHAR
01821 
01838         AK_EXTERNAPIFUNC( AKRESULT, UnloadBank )(
01839             const char*         in_pszString,           
01840             const void *        in_pInMemoryBankPtr,    
01841             AkMemPoolId *       out_pMemPoolId = NULL   
01842             );
01843 
01855         AK_EXTERNAPIFUNC( AKRESULT, UnloadBank )(
01856             AkBankID            in_bankID,              
01857             const void *        in_pInMemoryBankPtr,    
01858             AkMemPoolId *       out_pMemPoolId = NULL   
01859             );
01860 
01861 #ifdef AK_SUPPORT_WCHAR
01862 
01863 
01864 
01865 
01866 
01867 
01868 
01869 
01870 
01871 
01872 
01873 
01874 
01875 
01876 
01877         AK_EXTERNAPIFUNC( AKRESULT, UnloadBank )(
01878             const wchar_t*      in_pszString,           
01879             const void *        in_pInMemoryBankPtr,    
01880             AkBankCallbackFunc  in_pfnBankCallback,     
01881             void *              in_pCookie              
01882             );
01883 #endif //AK_SUPPORT_WCHAR
01884 
01900         AK_EXTERNAPIFUNC( AKRESULT, UnloadBank )(
01901             const char*         in_pszString,           
01902             const void *        in_pInMemoryBankPtr,    
01903             AkBankCallbackFunc  in_pfnBankCallback,     
01904             void *              in_pCookie              
01905             );
01906 
01918         AK_EXTERNAPIFUNC( AKRESULT, UnloadBank )(
01919             AkBankID            in_bankID,              
01920             const void *        in_pInMemoryBankPtr,    
01921             AkBankCallbackFunc  in_pfnBankCallback,     
01922             void *              in_pCookie              
01923             );
01924 
01932         AK_EXTERNAPIFUNC( void, CancelBankCallbackCookie )( 
01933             void * in_pCookie                           
01934             );
01935 
01941         enum PreparationType
01942         {
01943             Preparation_Load,   
01944             Preparation_Unload  
01945         };
01946 
01953         enum AkBankContent
01954         {
01955             AkBankContent_StructureOnly,    
01956             AkBankContent_All               
01957         };
01958 
01959 #ifdef AK_SUPPORT_WCHAR
01960 
01961 
01962 
01963 
01964 
01965 
01966 
01967 
01968 
01969 
01970 
01971 
01972 
01973         AK_EXTERNAPIFUNC( AKRESULT, PrepareBank )(
01974             AK::SoundEngine::PreparationType    in_PreparationType,         
01975             const wchar_t*        in_pszString,                             
01976             AK::SoundEngine::AkBankContent  in_uFlags = AkBankContent_All   
01977             );
01978 #endif //AK_SUPPORT_WCHAR
01979 
01993         AK_EXTERNAPIFUNC( AKRESULT, PrepareBank )(
01994             AK::SoundEngine::PreparationType    in_PreparationType,         
01995             const char*           in_pszString,                             
01996             AK::SoundEngine::AkBankContent  in_uFlags = AkBankContent_All   
01997             );
01998 
02012         AK_EXTERNAPIFUNC( AKRESULT, PrepareBank )(
02013             AK::SoundEngine::PreparationType    in_PreparationType,         
02014             AkBankID            in_bankID,                                  
02015             AK::SoundEngine::AkBankContent  in_uFlags = AkBankContent_All   
02016             );
02017 
02018 #ifdef AK_SUPPORT_WCHAR
02019 
02020 
02021 
02022 
02023 
02024 
02025 
02026 
02027 
02028 
02029 
02030 
02031 
02032         AK_EXTERNAPIFUNC( AKRESULT, PrepareBank )(
02033             AK::SoundEngine::PreparationType    in_PreparationType,         
02034             const wchar_t*      in_pszString,                               
02035             AkBankCallbackFunc  in_pfnBankCallback,                         
02036             void *              in_pCookie,                                 
02037             AK::SoundEngine::AkBankContent  in_uFlags = AkBankContent_All   
02038             );
02039 #endif //AK_SUPPORT_WCHAR
02040 
02054         AK_EXTERNAPIFUNC( AKRESULT, PrepareBank )(
02055             AK::SoundEngine::PreparationType    in_PreparationType,         
02056             const char*         in_pszString,                               
02057             AkBankCallbackFunc  in_pfnBankCallback,                         
02058             void *              in_pCookie,                                 
02059             AK::SoundEngine::AkBankContent  in_uFlags = AkBankContent_All   
02060             );
02061 
02075         AK_EXTERNAPIFUNC( AKRESULT, PrepareBank )(
02076             AK::SoundEngine::PreparationType        in_PreparationType,             
02077             AkBankID            in_bankID,                      
02078             AkBankCallbackFunc  in_pfnBankCallback,             
02079             void *              in_pCookie,                     
02080             AK::SoundEngine::AkBankContent      in_uFlags = AkBankContent_All   
02081             );
02082         
02092         AK_EXTERNAPIFUNC( AKRESULT, ClearPreparedEvents )();
02093 
02094 #ifdef AK_SUPPORT_WCHAR
02095 
02096 
02097 
02098 
02099 
02100 
02101 
02102 
02103 
02104 
02105 
02106 
02107 
02108 
02109 
02110 
02111 
02112 
02113 
02114 
02115 
02116 
02117 
02118 
02119 
02120 
02121 
02122 
02123 
02124         AK_EXTERNAPIFUNC( AKRESULT, PrepareEvent )( 
02125             PreparationType     in_PreparationType,     
02126             const wchar_t**     in_ppszString,          
02127             AkUInt32            in_uNumEvent            
02128             );
02129 #endif //AK_SUPPORT_WCHAR
02130 
02160         AK_EXTERNAPIFUNC( AKRESULT, PrepareEvent )( 
02161             PreparationType     in_PreparationType,     
02162             const char**        in_ppszString,          
02163             AkUInt32            in_uNumEvent            
02164             );
02165 
02194         AK_EXTERNAPIFUNC( AKRESULT, PrepareEvent )( 
02195             PreparationType     in_PreparationType,     
02196             AkUniqueID*         in_pEventID,            
02197             AkUInt32            in_uNumEvent            
02198             );
02199 
02200 #ifdef AK_SUPPORT_WCHAR
02201 
02202 
02203 
02204 
02205 
02206 
02207 
02208 
02209 
02210 
02211 
02212 
02213 
02214 
02215 
02216 
02217 
02218 
02219 
02220 
02221         AK_EXTERNAPIFUNC( AKRESULT, PrepareEvent )( 
02222             PreparationType     in_PreparationType,     
02223             const wchar_t**     in_ppszString,          
02224             AkUInt32            in_uNumEvent,           
02225             AkBankCallbackFunc  in_pfnBankCallback,     
02226             void *              in_pCookie              
02227             );
02228 #endif //AK_SUPPORT_WCHAR
02229 
02250         AK_EXTERNAPIFUNC( AKRESULT, PrepareEvent )( 
02251             PreparationType     in_PreparationType,     
02252             const char**        in_ppszString,          
02253             AkUInt32            in_uNumEvent,           
02254             AkBankCallbackFunc  in_pfnBankCallback,     
02255             void *              in_pCookie              
02256             );
02257 
02278         AK_EXTERNAPIFUNC( AKRESULT, PrepareEvent )( 
02279             PreparationType     in_PreparationType,     
02280             AkUniqueID*         in_pEventID,            
02281             AkUInt32            in_uNumEvent,           
02282             AkBankCallbackFunc  in_pfnBankCallback,     
02283             void *              in_pCookie              
02284             );
02285 
02289         AK_EXTERNAPIFUNC( AKRESULT, SetMedia )( 
02290             AkSourceSettings *  in_pSourceSettings,     
02291             AkUInt32            in_uNumSourceSettings   
02292             );
02293 
02297         AK_EXTERNAPIFUNC( AKRESULT, UnsetMedia )( 
02298             AkSourceSettings *  in_pSourceSettings,     
02299             AkUInt32            in_uNumSourceSettings   
02300             );
02301 
02302 #ifdef AK_SUPPORT_WCHAR
02303 
02304 
02305 
02306 
02307 
02308 
02309 
02310 
02311 
02312 
02313 
02314 
02315 
02316 
02317 
02318 
02319 
02320 
02321 
02322 
02323 
02324 
02325 
02326 
02327 
02328 
02329 
02330 
02331 
02332         AK_EXTERNAPIFUNC( AKRESULT, PrepareGameSyncs )(
02333             PreparationType in_PreparationType,         
02334             AkGroupType     in_eGameSyncType,           
02335             const wchar_t*  in_pszGroupName,            
02336             const wchar_t** in_ppszGameSyncName,        
02337             AkUInt32        in_uNumGameSyncs            
02338             );
02339 #endif //AK_SUPPORT_WCHAR
02340 
02370         AK_EXTERNAPIFUNC( AKRESULT, PrepareGameSyncs )(
02371             PreparationType in_PreparationType,         
02372             AkGroupType     in_eGameSyncType,           
02373             const char*     in_pszGroupName,            
02374             const char**    in_ppszGameSyncName,        
02375             AkUInt32        in_uNumGameSyncs            
02376             );
02377 
02407         AK_EXTERNAPIFUNC( AKRESULT, PrepareGameSyncs )(
02408             PreparationType in_PreparationType,         
02409             AkGroupType     in_eGameSyncType,           
02410             AkUInt32        in_GroupID,                 
02411             AkUInt32*       in_paGameSyncID,            
02412             AkUInt32        in_uNumGameSyncs            
02413             );
02414 
02415 #ifdef AK_SUPPORT_WCHAR
02416 
02417 
02418 
02419 
02420 
02421 
02422 
02423 
02424 
02425 
02426 
02427 
02428 
02429 
02430 
02431 
02432 
02433 
02434 
02435 
02436 
02437         AK_EXTERNAPIFUNC( AKRESULT, PrepareGameSyncs )(
02438             PreparationType     in_PreparationType,     
02439             AkGroupType         in_eGameSyncType,       
02440             const wchar_t*      in_pszGroupName,        
02441             const wchar_t**     in_ppszGameSyncName,    
02442             AkUInt32            in_uNumGameSyncs,       
02443             AkBankCallbackFunc  in_pfnBankCallback,     
02444             void *              in_pCookie              
02445             );
02446 #endif //AK_SUPPORT_WCHAR
02447 
02469         AK_EXTERNAPIFUNC( AKRESULT, PrepareGameSyncs )(
02470             PreparationType     in_PreparationType,     
02471             AkGroupType         in_eGameSyncType,       
02472             const char*         in_pszGroupName,        
02473             const char**        in_ppszGameSyncName,    
02474             AkUInt32            in_uNumGameSyncs,       
02475             AkBankCallbackFunc  in_pfnBankCallback,     
02476             void *              in_pCookie              
02477             );
02478 
02500         AK_EXTERNAPIFUNC( AKRESULT, PrepareGameSyncs )(
02501             PreparationType     in_PreparationType,     
02502             AkGroupType         in_eGameSyncType,       
02503             AkUInt32            in_GroupID,             
02504             AkUInt32*           in_paGameSyncID,        
02505             AkUInt32            in_uNumGameSyncs,       
02506             AkBankCallbackFunc  in_pfnBankCallback,     
02507             void *              in_pCookie              
02508             );
02509 
02511 
02512 
02515 
02516 
02522         AK_EXTERNAPIFUNC( AKRESULT, SetActiveListeners )(
02523             AkGameObjectID in_GameObjectID,             
02524             AkUInt32 in_uListenerMask                   
02525             );
02526 
02531         AK_EXTERNAPIFUNC( AKRESULT, SetListenerPosition )( 
02532             const AkListenerPosition & in_Position,     
02533             AkUInt32 in_uIndex = 0                      
02534             );
02535 
02548         AK_EXTERNAPIFUNC( AKRESULT, SetListenerSpatialization )(
02549             AkUInt32 in_uIndex,                         
02550             bool in_bSpatialized,                       
02551             AkChannelConfig in_channelConfig,           
02552             AK::SpeakerVolumes::VectorPtr in_pVolumeOffsets = NULL  
02553             );
02554 
02564         AK_EXTERNAPIFUNC( AKRESULT, SetListenerPipeline )(
02565             AkUInt32 in_uIndex,                     
02566             bool in_bAudio,                         
02567             bool in_bMotion                         
02568             );
02569 
02570 
02572 
02573 
02576 
02577 
02596         AK_EXTERNAPIFUNC( AKRESULT, SetRTPCValue )( 
02597             AkRtpcID in_rtpcID,                                     
02598             AkRtpcValue in_value,                                   
02599             AkGameObjectID in_gameObjectID = AK_INVALID_GAME_OBJECT,
02600             AkTimeMs in_uValueChangeDuration = 0,                   
02601             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
02602             bool in_bBypassInternalValueInterpolation = false       
02603             );
02604 
02605 #ifdef AK_SUPPORT_WCHAR
02606 
02607 
02608 
02609 
02610 
02611 
02612 
02613 
02614 
02615 
02616 
02617 
02618 
02619 
02620 
02621 
02622 
02623 
02624 
02625 
02626         AK_EXTERNAPIFUNC( AKRESULT, SetRTPCValue )( 
02627             const wchar_t* in_pszRtpcName,                          
02628             AkRtpcValue in_value,                                   
02629             AkGameObjectID in_gameObjectID = AK_INVALID_GAME_OBJECT,
02630             AkTimeMs in_uValueChangeDuration = 0,                   
02631             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
02632             bool in_bBypassInternalValueInterpolation = false       
02633             );
02634 #endif //AK_SUPPORT_WCHAR
02635 
02656         AK_EXTERNAPIFUNC( AKRESULT, SetRTPCValue )( 
02657             const char* in_pszRtpcName,                             
02658             AkRtpcValue in_value,                                   
02659             AkGameObjectID in_gameObjectID = AK_INVALID_GAME_OBJECT,
02660             AkTimeMs in_uValueChangeDuration = 0,                   
02661             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
02662             bool in_bBypassInternalValueInterpolation = false       
02663             );
02664 
02681         AK_EXTERNAPIFUNC( AKRESULT, SetRTPCValueByPlayingID )( 
02682             AkRtpcID in_rtpcID,                                     
02683             AkRtpcValue in_value,                                   
02684             AkPlayingID in_playingID,                               
02685             AkTimeMs in_uValueChangeDuration = 0,                   
02686             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
02687             bool in_bBypassInternalValueInterpolation = false       
02688             );
02689 
02690 #ifdef AK_SUPPORT_WCHAR
02691 
02692 
02693 
02694 
02695 
02696 
02697 
02698 
02699 
02700 
02701 
02702 
02703 
02704 
02705 
02706 
02707         AK_EXTERNAPIFUNC( AKRESULT, SetRTPCValueByPlayingID )( 
02708             const wchar_t* in_pszRtpcName,                          
02709             AkRtpcValue in_value,                                   
02710             AkPlayingID in_playingID,                               
02711             AkTimeMs in_uValueChangeDuration = 0,                   
02712             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
02713             bool in_bBypassInternalValueInterpolation = false       
02714             );
02715 #endif //AK_SUPPORT_WCHAR
02716         
02733         AK_EXTERNAPIFUNC( AKRESULT, SetRTPCValueByPlayingID )( 
02734             const char* in_pszRtpcName,                             
02735             AkRtpcValue in_value,                                   
02736             AkPlayingID in_playingID,                               
02737             AkTimeMs in_uValueChangeDuration = 0,                   
02738             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
02739             bool in_bBypassInternalValueInterpolation = false       
02740             );
02741 
02758         AK_EXTERNAPIFUNC( AKRESULT, ResetRTPCValue )(
02759             AkRtpcID in_rtpcID,                                     
02760             AkGameObjectID in_gameObjectID = AK_INVALID_GAME_OBJECT,
02761             AkTimeMs in_uValueChangeDuration = 0,                   
02762             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
02763             bool in_bBypassInternalValueInterpolation = false       
02764             );
02765 
02766 #ifdef AK_SUPPORT_WCHAR
02767 
02768 
02769 
02770 
02771 
02772 
02773 
02774 
02775 
02776 
02777 
02778 
02779 
02780 
02781 
02782 
02783 
02784 
02785         AK_EXTERNAPIFUNC( AKRESULT, ResetRTPCValue )(
02786             const wchar_t* in_pszRtpcName,                          
02787             AkGameObjectID in_gameObjectID = AK_INVALID_GAME_OBJECT,
02788             AkTimeMs in_uValueChangeDuration = 0,                   
02789             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
02790             bool in_bBypassInternalValueInterpolation = false       
02791             );
02792 #endif //AK_SUPPORT_WCHAR
02793 
02812         AK_EXTERNAPIFUNC( AKRESULT, ResetRTPCValue )(
02813             const char* in_pszRtpcName,                             
02814             AkGameObjectID in_gameObjectID = AK_INVALID_GAME_OBJECT,
02815             AkTimeMs in_uValueChangeDuration = 0,                   
02816             AkCurveInterpolation in_eFadeCurve = AkCurveInterpolation_Linear,   
02817             bool in_bBypassInternalValueInterpolation = false       
02818             );
02819 
02825         AK_EXTERNAPIFUNC( AKRESULT, SetSwitch )( 
02826             AkSwitchGroupID in_switchGroup,             
02827             AkSwitchStateID in_switchState,             
02828             AkGameObjectID in_gameObjectID              
02829             );
02830 
02831 #ifdef AK_SUPPORT_WCHAR
02832 
02833 
02834 
02835 
02836 
02837 
02838 
02839 
02840         AK_EXTERNAPIFUNC( AKRESULT, SetSwitch )( 
02841             const wchar_t* in_pszSwitchGroup,           
02842             const wchar_t* in_pszSwitchState,           
02843             AkGameObjectID in_gameObjectID              
02844             );
02845 #endif //AK_SUPPORT_WCHAR
02846 
02855         AK_EXTERNAPIFUNC( AKRESULT, SetSwitch )( 
02856             const char* in_pszSwitchGroup,              
02857             const char* in_pszSwitchState,              
02858             AkGameObjectID in_gameObjectID              
02859             );
02860 
02866         AK_EXTERNAPIFUNC( AKRESULT, PostTrigger )( 
02867             AkTriggerID     in_triggerID,               
02868             AkGameObjectID  in_gameObjectID             
02869             );
02870 
02871 #ifdef AK_SUPPORT_WCHAR
02872 
02873 
02874 
02875 
02876 
02877 
02878 
02879 
02880         AK_EXTERNAPIFUNC( AKRESULT, PostTrigger )( 
02881             const wchar_t* in_pszTrigger,               
02882             AkGameObjectID in_gameObjectID              
02883             );
02884 #endif //AK_SUPPORT_WCHAR
02885 
02894         AK_EXTERNAPIFUNC( AKRESULT, PostTrigger )( 
02895             const char* in_pszTrigger,                  
02896             AkGameObjectID in_gameObjectID              
02897             );
02898 
02904         AK_EXTERNAPIFUNC( AKRESULT, SetState )( 
02905             AkStateGroupID in_stateGroup,               
02906             AkStateID in_state                          
02907             );
02908 
02909 #ifdef AK_SUPPORT_WCHAR
02910 
02911 
02912 
02913 
02914 
02915 
02916 
02917 
02918 
02919         AK_EXTERNAPIFUNC( AKRESULT, SetState )( 
02920             const wchar_t* in_pszStateGroup,                
02921             const wchar_t* in_pszState                      
02922             );
02923 #endif //AK_SUPPORT_WCHAR
02924 
02934         AK_EXTERNAPIFUNC( AKRESULT, SetState )( 
02935             const char* in_pszStateGroup,                   
02936             const char* in_pszState                         
02937             );
02938 
02940 
02943 
02944 
02958         AK_EXTERNAPIFUNC( AKRESULT, SetGameObjectAuxSendValues )( 
02959             AkGameObjectID      in_gameObjectID,        
02960             AkAuxSendValue*     in_aAuxSendValues,      
02961 
02962             AkUInt32            in_uNumSendValues       
02963 
02964             );
02965 
02979         AK_EXTERNAPIFUNC( AKRESULT, RegisterBusVolumeCallback )( 
02980             AkUniqueID in_busID,                        
02981             AkBusCallbackFunc in_pfnCallback            
02982             );
02983 
02995         AK_EXTERNAPIFUNC( AKRESULT, RegisterBusMeteringCallback )( 
02996             AkUniqueID in_busID,                        
02997             AkBusMeteringCallbackFunc in_pfnCallback,   
02998             AkMeteringFlags in_eMeteringFlags           
02999             );
03000 
03008         AK_EXTERNAPIFUNC( AKRESULT, SetGameObjectOutputBusVolume )( 
03009             AkGameObjectID      in_gameObjectID,        
03010             AkReal32            in_fControlValue        
03011 
03012             );
03013 
03021         AK_EXTERNAPIFUNC( AKRESULT, SetActorMixerEffect )( 
03022             AkUniqueID in_audioNodeID,                  
03023             AkUInt32 in_uFXIndex,                       
03024             AkUniqueID in_shareSetID                    
03025             );
03026 
03038         AK_EXTERNAPIFUNC( AKRESULT, SetBusEffect )( 
03039             AkUniqueID in_audioNodeID,                  
03040             AkUInt32 in_uFXIndex,                       
03041             AkUniqueID in_shareSetID                    
03042             );
03043 
03044 #ifdef AK_SUPPORT_WCHAR
03045 
03046 
03047 
03048 
03049 
03050 
03051 
03052 
03053 
03054 
03055 
03056         AK_EXTERNAPIFUNC( AKRESULT, SetBusEffect )( 
03057             const wchar_t* in_pszBusName,               
03058             AkUInt32 in_uFXIndex,                       
03059             AkUniqueID in_shareSetID                    
03060             );
03061 #endif //AK_SUPPORT_WCHAR
03062 
03074         AK_EXTERNAPIFUNC( AKRESULT, SetBusEffect )( 
03075             const char* in_pszBusName,      
03076             AkUInt32 in_uFXIndex,           
03077             AkUniqueID in_shareSetID        
03078             );
03079 
03086         AK_EXTERNAPIFUNC( AKRESULT, SetMixer )( 
03087             AkUniqueID in_audioNodeID,                  
03088             AkUniqueID in_shareSetID                    
03089             );
03090 
03091 #ifdef AK_SUPPORT_WCHAR
03092 
03093 
03094 
03095 
03096 
03097 
03098         AK_EXTERNAPIFUNC( AKRESULT, SetMixer )( 
03099             const wchar_t* in_pszBusName,               
03100             AkUniqueID in_shareSetID                    
03101             );
03102 #endif //AK_SUPPORT_WCHAR
03103 
03110         AK_EXTERNAPIFUNC( AKRESULT, SetMixer )( 
03111             const char* in_pszBusName,      
03112             AkUniqueID in_shareSetID        
03113             );
03114 
03121         AK_EXTERNAPIFUNC( AKRESULT, SetObjectObstructionAndOcclusion )(  
03122             AkGameObjectID in_ObjectID,         
03123             AkUInt32 in_uListener,              
03124             AkReal32 in_fObstructionLevel,      
03125             AkReal32 in_fOcclusionLevel         
03126             );
03127 
03129         
03132 
03133 
03157         AK_EXTERNAPIFUNC( AKRESULT, StartOutputCapture )( 
03158             const AkOSChar* in_CaptureFileName              
03159             );
03160 
03165         AK_EXTERNAPIFUNC( AKRESULT, StopOutputCapture )();
03166 
03171         AK_EXTERNAPIFUNC( AKRESULT, AddOutputCaptureMarker )(
03172             const char* in_MarkerText                   
03173             );
03174             
03179         AK_EXTERNAPIFUNC( AKRESULT, StartProfilerCapture )( 
03180             const AkOSChar* in_CaptureFileName              
03181             );
03182 
03186         AK_EXTERNAPIFUNC( AKRESULT, StopProfilerCapture )();
03187 
03189 
03192 
03193 
03201         AK_EXTERNAPIFUNC( AKRESULT, AddSecondaryOutput )(
03202             AkUInt32 in_iOutputID,          
03203 
03204 
03205 
03206 
03207             AkAudioOutputType in_iDeviceType,   
03208 
03209 
03210 
03211             AkUInt32 in_uListenerMask       
03212             );
03213 
03214         AK_EXTERNAPIFUNC( AKRESULT, RemoveSecondaryOutput )(
03215             AkUInt32 in_iOutputID,              
03216             AkAudioOutputType in_iDeviceType    
03217             );
03218         
03220         AK_EXTERNAPIFUNC( AKRESULT, SetSecondaryOutputVolume )(
03221             AkUInt32 in_iOutputID,          
03222             AkAudioOutputType in_iDeviceType, 
03223             AkReal32 in_fVolume             
03224             );
03226 
03238         AK_EXTERNAPIFUNC( AKRESULT, Suspend )(
03239             bool in_bRenderAnyway = false 
03240             );
03241 
03251         AK_EXTERNAPIFUNC( AKRESULT, WakeupFromSuspend )(); 
03252     }
03253 }
03254 
03255 #endif // _AK_SOUNDENGINE_H_