版本

menu_open

include/AK/MusicEngine/Common/AkMusicEngine.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 // AkMusicEngine.h
00029 
00032 
00033 
00034 #ifndef _AK_MUSICENGINE_H_
00035 #define _AK_MUSICENGINE_H_
00036 
00037 #include <AK/SoundEngine/Common/AkSoundEngineExport.h>
00038 #include <AK/SoundEngine/Common/AkTypes.h>
00039 #include <AK/SoundEngine/Common/AkCallback.h>
00040 
00045 struct AkMusicSettings
00046 {
00047     AkReal32 fStreamingLookAheadRatio;  
00048 };
00049 
00050 // Audiokinetic namespace
00051 namespace AK
00052 {
00055     namespace MusicEngine
00056     {
00059 
00060 
00067         AK_EXTERNAPIFUNC( AKRESULT, Init )(
00068             AkMusicSettings *   in_pSettings    
00069             );
00070 
00075         AK_EXTERNAPIFUNC( void, GetDefaultInitSettings )(
00076             AkMusicSettings &   out_settings    
00077             );
00078 
00083         AK_EXTERNAPIFUNC( void, Term )(
00084             );
00085         
00107         AK_EXTERNAPIFUNC( AKRESULT, GetPlayingSegmentInfo )(
00108             AkPlayingID     in_PlayingID,           
00109             AkSegmentInfo & out_segmentInfo,        
00110             bool            in_bExtrapolate = true  
00111             );
00112 
00114     }
00115 }
00116 
00117 #endif // _AK_MUSICENGINE_H_
00118 

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅