版本

menu_open

include/AK/SoundEngine/Common/AkVirtualAcoustics.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002 The content of this file includes portions of the AUDIOKINETIC Wwise Technology
00003 released in source code form as part of the SDK installer package.
00004 
00005 Commercial License Usage
00006 
00007 Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
00008 may use this file in accordance with the end user license agreement provided 
00009 with the software or, alternatively, in accordance with the terms contained in a
00010 written agreement between you and Audiokinetic Inc.
00011 
00012 Apache License Usage
00013 
00014 Alternatively, this file may be used under the Apache License, Version 2.0 (the 
00015 "Apache License"); you may not use this file except in compliance with the 
00016 Apache License. You may obtain a copy of the Apache License at 
00017 http://www.apache.org/licenses/LICENSE-2.0.
00018 
00019 Unless required by applicable law or agreed to in writing, software distributed
00020 under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
00021 OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
00022 the specific language governing permissions and limitations under the License.
00023 
00024   Version: <VERSION>  Build: <BUILDNUMBER>
00025   Copyright (c) <COPYRIGHTYEAR> Audiokinetic Inc.
00026 *******************************************************************************/
00027 
00028 #ifndef _AK_ACOUSTICTEXTURE_H_
00029 #define _AK_ACOUSTICTEXTURE_H_
00030 
00031 #include <AK/SoundEngine/Common/AkTypes.h>
00032 
00033 struct AkAcousticTexture
00034 {
00035     AkAcousticTexture(){}
00036 
00037     //Constructor
00038     AkAcousticTexture(
00039         AkUInt32                    in_ID,
00040         AkUInt16                    in_OnOffBand1,
00041         AkUInt16                    in_OnOffBand2,
00042         AkUInt16                    in_OnOffBand3,
00043         AkUInt16                    in_FilterTypeBand1,
00044         AkUInt16                    in_FilterTypeBand2,
00045         AkUInt16                    in_FilterTypeBand3,
00046         AkReal32                    in_FrequencyBand1,
00047         AkReal32                    in_FrequencyBand2,
00048         AkReal32                    in_FrequencyBand3,
00049         AkReal32                    in_QFactorBand1,
00050         AkReal32                    in_QFactorBand2,
00051         AkReal32                    in_QFactorBand3,
00052         AkReal32                    in_GainBand1,
00053         AkReal32                    in_GainBand2,
00054         AkReal32                    in_GainBand3,
00055         AkReal32                    in_OutputGain) :
00056         ID(in_ID),
00057         OnOffBand1(in_OnOffBand1 != 0),
00058         OnOffBand2(in_OnOffBand2 != 0),
00059         OnOffBand3(in_OnOffBand3 != 0),
00060         FilterTypeBand1(in_FilterTypeBand1),
00061         FilterTypeBand2(in_FilterTypeBand2),
00062         FilterTypeBand3(in_FilterTypeBand3),
00063         FrequencyBand1(in_FrequencyBand1),
00064         FrequencyBand2(in_FrequencyBand2),
00065         FrequencyBand3(in_FrequencyBand3),
00066         QFactorBand1(in_QFactorBand1),
00067         QFactorBand2(in_QFactorBand2),
00068         QFactorBand3(in_QFactorBand3), 
00069         GainBand1(in_GainBand1),
00070         GainBand2(in_GainBand2),
00071         GainBand3(in_GainBand3),
00072         OutputGain(in_OutputGain)
00073     {
00074     }
00075 
00076     AkUInt32                        ID;
00077 
00078     bool                            OnOffBand1;
00079     bool                            OnOffBand2;
00080     bool                            OnOffBand3;
00081 
00082     AkUInt16                        FilterTypeBand1;
00083     AkUInt16                        FilterTypeBand2;
00084     AkUInt16                        FilterTypeBand3;
00085 
00086     AkReal32                        FrequencyBand1;
00087     AkReal32                        FrequencyBand2;
00088     AkReal32                        FrequencyBand3;
00089 
00090     AkReal32                        QFactorBand1;
00091     AkReal32                        QFactorBand2;
00092     AkReal32                        QFactorBand3;
00093     
00094     AkReal32                        GainBand1;
00095     AkReal32                        GainBand2;
00096     AkReal32                        GainBand3;
00097     
00098     AkReal32                        OutputGain;
00099 };
00100 
00101 
00102 struct AkDiffuseReverberator
00103 {
00104     AkDiffuseReverberator(){}
00105 
00106     //Constructor
00107     AkDiffuseReverberator(
00108         AkUInt32                    in_ID,
00109         AkReal32                    in_Time,
00110         AkReal32                    in_HFRatio,
00111         AkReal32                    in_DryLevel,
00112         AkReal32                    in_WetLevel,
00113         AkReal32                    in_Spread,
00114         AkReal32                    in_Density,
00115         AkUInt32                    in_Quality,
00116         AkReal32                    in_Diffusion,
00117         AkReal32                    in_Scale):
00118         ID(in_ID),
00119         Time(in_Time),
00120         HFRatio(in_HFRatio),
00121         DryLevel(in_DryLevel),
00122         WetLevel(in_WetLevel),
00123         Spread(in_Spread),
00124         Density(in_Density),
00125         Quality(in_Quality),
00126         Diffusion(in_Diffusion),
00127         Scale(in_Scale)
00128     {
00129     }
00130 
00131 
00132     AkUInt32                        ID;
00133     AkReal32                        Time;
00134     AkReal32                        HFRatio;
00135     AkReal32                        DryLevel;
00136 
00137     AkReal32                        WetLevel;
00138     AkReal32                        Spread;
00139     AkReal32                        Density;
00140 
00141     AkUInt32                        Quality;
00142     AkReal32                        Diffusion;
00143     AkReal32                        Scale;
00144 
00145 
00146 };
00147 
00148 #endif

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅