00001 00002 // 00003 // Copyright (c) 2006 Audiokinetic Inc. / All Rights Reserved 00004 // 00006 00007 // AkSinkFactory.h 00008 00013 00014 #ifndef _AK_SINK_FACTORY_H_ 00015 #define _AK_SINK_FACTORY_H_ 00016 00017 #include <AK/SoundEngine/Common/IAkPlugin.h> 00018 00025 const unsigned long AKEFFECTID_SINK = 152; 00026 00028 AK_FUNC( AK::IAkPlugin*, CreateSink )( 00029 AK::IAkPluginMemAlloc * in_pAllocator 00030 ); 00031 00032 /* Pass CreateSceAudio3dSink to AkInitSettings::settingsMainOutput::pfSinkPluginFactory when initializing the sound engine. 00033 00034 AkInitSettings settings; 00035 AK::SoundEngine::GetDefaultInitSettings( settings ); 00036 settings.settingsMainOutput.pfSinkPluginFactory = CreateSink; 00037 AK::SoundEngine::Init( &settings, &platformSettings ); 00038 00039 */ 00040 00041 #endif // _AK_SINK_FACTORY_H_ 00042
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