Table des matières

include/AK/Plugin/AkRecorderFXFactory.h

Go to the documentation of this file.
00001 
00002 //
00003 // Copyright (c) 2010 Audiokinetic Inc. / All Rights Reserved
00004 //
00006 // AkRecorderFXFactory.h
00007 
00012 
00013 #ifndef _AK_RECORDERFXFACTORY_H_
00014 #define _AK_RECORDERFXFACTORY_H_
00015 
00016 #include <AK/SoundEngine/Common/IAkPlugin.h>
00017 
00021 const unsigned long AKEFFECTID_RECORDER = 132;
00022 
00024 AK_FUNC( AK::IAkPluginParam *, CreateRecorderFXParams )(
00025     AK::IAkPluginMemAlloc * in_pAllocator       
00026     );
00027 
00029 AK_FUNC( AK::IAkPlugin*, CreateRecorderFX )(
00030     AK::IAkPluginMemAlloc * in_pAllocator       
00031     );
00032 
00034 struct AkRecorderSettings
00035 {
00036     AkUInt32 uIOMemorySize;     
00037     AkUInt32 uIOGranularity;    
00038     AkPriority ePriority;       
00039 };
00040 
00042 AK_EXTERNFUNC( void, GetAkRecorderDefaultSettings )(
00043     AkRecorderSettings & out_settings       
00044     );
00045 
00048 AK_EXTERNFUNC( void, SetAkRecorderSettings )(
00049     const AkRecorderSettings & in_settings  
00050     );
00051 
00052 /*
00053 Use the following code to register your plug-in:
00054 
00055 AK::SoundEngine::RegisterPlugin( AkPluginTypeEffect, 
00056                                  AKCOMPANYID_AUDIOKINETIC, 
00057                                  AKEFFECTID_RECORDER,
00058                                  CreateRecorderFX,
00059                                  CreateRecorderFXParams );
00060 */
00061 
00062 #endif // _AK_RECORDERFXFACTORY_H_
00063