00001 00002 // 00003 // Copyright (c) 2006 Audiokinetic Inc. / All Rights Reserved 00004 // 00006 00007 // IAkMotionMixBus.h 00008 00009 #ifndef _IMOTIONBUS_H 00010 #define _IMOTIONBUS_H 00011 00012 #include <AK/SoundEngine/Common/AkSoundEngine.h> 00013 #include <AK/SoundEngine/Common/AkCommonDefs.h> 00014 #include <AK/SoundEngine/Common/IAkPlugin.h> 00015 00016 class IAkMotionMixBus : public AK::IAkPlugin 00017 { 00018 public: 00019 virtual AKRESULT Init(AK::IAkPluginMemAlloc * in_pAllocator, AkPlatformInitSettings * io_pPDSettings, AkUInt8 in_iPlayer, void * in_pDevice = NULL) = 0; 00020 00021 virtual AKRESULT MixAudioBuffer( AkAudioBuffer &io_rBuffer ) = 0; 00022 virtual AKRESULT MixFeedbackBuffer( AkAudioBuffer &io_rBuffer, AkReal32 in_fVolume ) = 0; 00023 virtual AKRESULT RenderData() = 0; 00024 virtual void CommandTick() = 0; 00025 virtual void Stop() = 0; 00026 00027 virtual AkReal32 GetPeak() = 0; 00028 virtual bool IsStarving() = 0; 00029 virtual bool IsActive() = 0; 00030 virtual AkChannelMask GetMixingFormat() = 0; 00031 virtual void SetMasterVolume(AkReal32 in_fVol) = 0; 00032 00033 virtual void StartOutputCapture(const AkOSChar* in_CaptureFileName) = 0; 00034 virtual void StopOutputCapture() = 0; 00035 }; 00036 #endif
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise