Wwise 版本

include/AK/SoundEngine/Common/IAkProcessorFeatures.h

Go to the documentation of this file.
00001 
00002 //
00003 // Copyright (c) 2006 Audiokinetic Inc. / All Rights Reserved
00004 //
00006 
00009 
00010 #pragma once
00011 
00012 #include <AK/SoundEngine/Common/AkTypes.h>
00013 
00014 namespace AK
00015 {   
00017     enum AkSIMDProcessorSupport
00018     {
00019         AK_SIMD_SSE = 1<<0,     
00020         AK_SIMD_SSE2 = 1<<1,    
00021         AK_SIMD_SSE3 = 1<<2,    
00022         AK_SIMD_SSSE3 = 1<<3    
00023     };
00024 
00028     class IAkProcessorFeatures
00029     {
00030     protected:
00032         virtual ~IAkProcessorFeatures(){}
00033 
00034     public:
00036         virtual bool GetSIMDSupport(AkSIMDProcessorSupport in_eSIMD) = 0;
00038         virtual AkUInt32 GetCacheSize() = 0;
00040         virtual AkUInt32 GetCacheLineSize() = 0;
00041     };
00042 }