Version
menu_open
link
Target Platform(s):

include/AK/SoundEngine/Platforms/Android/AkAndroidSoundEngine.h

Go to the documentation of this file.
00001 
00002 //
00003 // Copyright (c) 2011 Audiokinetic Inc. / All Rights Reserved
00004 //
00006 
00007 // AkAndroidSoundEngine.h
00008 
00011 
00012 #pragma once
00013 
00014 #include <AK/SoundEngine/Common/AkTypes.h>
00015 #include <AK/Tools/Common/AkPlatformFuncs.h>
00016 #include <SLES/OpenSLES.h>
00017 #include "SLES/OpenSLES_Android.h"
00018 #include <jni.h>
00019 
00020 
00025 struct AkPlatformInitSettings
00026 {
00027     // Threading model.
00028     AkThreadProperties  threadLEngine;          
00029     AkThreadProperties  threadBankManager;      
00030     AkThreadProperties  threadMonitor;          
00031     
00032     // Memory.
00033     AkReal32            fLEngineDefaultPoolRatioThreshold;  
00034     AkUInt32            uLEngineDefaultPoolSize;
00035     AkUInt32            uSampleRate;            
00036     // Voices.
00037     AkUInt16            uNumRefillsInVoice;     
00038     AkChannelMask       uChannelMask;           
00039     SLObjectItf         pSLEngine;              
00040     JavaVM*             pJavaVM;                
00041     jobject             jNativeActivity;        
00042 
00043 };
00044 
00048 enum AkAudioAPI
00049 {
00050     AkAPI_Default = 1 << 0,     
00051     AkAPI_Dummy = 1 << 2,       
00052 };
00053 
00055 enum AkAudioOutputType
00056 {
00057     AkOutput_Dummy = 1 << 2,        
00058     AkOutput_MergeToMain = 1 << 3,  
00059     AkOutput_Main = 1 << 4,         
00060     AkOutput_NumOutputs = 1 << 5,   
00061 };
00062 
00063 namespace AK
00064 {
00065     namespace SoundEngine
00066     {
00069         AK_EXTERNAPIFUNC( SLObjectItf, GetWwiseOpenSLInterface )();
00070     };
00071 };

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise