版本

menu_open
目标平台:
Wwise SDK 2023.1.8
AkiOSSoundEngine.h 文件参考
#include <AK/SoundEngine/Common/AkTypes.h>
#include <AK/Tools/Common/AkPlatformFuncs.h>
#include <AudioToolbox/AudioToolbox.h>

浏览源代码.

struct  AkAudioSessionProperties
 
struct  AkAudioCallbacks
 
struct  AkPlatformInitSettings
 

命名空间

namespace  AK
 Audiokinetic namespace
 
 AK::SoundEngine
 
 AK::SoundEngine::iOS
 

宏定义

#define AKMOTION_RESIDENT_MODE   (0x80000000)
 

类型定义

typedef AKRESULT(* AK::SoundEngine::iOS::AudioInputCallbackFunc) (const AudioBufferList *io_Data, void *in_pCookie)
 
typedef void(* AK::SoundEngine::iOS::AudioInterruptionCallbackFunc) (bool in_bEnterInterruption, void *in_pCookie)
 

枚举

enum  AkAudioSessionCategory { AkAudioSessionCategoryAmbient, AkAudioSessionCategorySoloAmbient, AkAudioSessionCategoryPlayAndRecord, AkAudioSessionCategoryPlayback }
 
enum  AkAudioSessionCategoryOptions {
  AkAudioSessionCategoryOptionMixWithOthers = 1, AkAudioSessionCategoryOptionDuckOthers = 2, AkAudioSessionCategoryOptionAllowBluetooth = 4, AkAudioSessionCategoryOptionDefaultToSpeaker = 8,
  AkAudioSessionCategoryOptionAllowBluetoothA2DP = 0x20
}
 
enum  AkAudioSessionMode {
  AkAudioSessionModeDefault = 0, AkAudioSessionModeVoiceChat, AkAudioSessionModeGameChat, AkAudioSessionModeVideoRecording,
  AkAudioSessionModeMeasurement, AkAudioSessionModeMoviePlayback, AkAudioSessionModeVideoChat
}
 
enum  AkAudioSessionSetActiveOptions { AkAudioSessionSetActiveOptionNotifyOthersOnDeactivation = 1 }
 
enum  AkAudioSessionBehaviorOptions { AkAudioSessionBehaviorSuspendInBackground = 0x1 }
 Flags that can modify the default Sound Engine behavior related to the management of the audio session. These do not have equivalences in the official iOS SDK; they apply uniquely to Wwise's approach to interruption handling. 更多...
 
enum  AkAudioAPI {
  AkAudioAPI_AAudio = 1 << 0, AkAudioAPI_OpenSL_ES = 1 << 1, AkAudioAPI_Default = AkAudioAPI_AAudio | AkAudioAPI_OpenSL_ES, AkAudioAPI_AVAudioEngine = 1 << 0,
  AkAudioAPI_AudioUnit = 1 << 1, AkAudioAPI_Default = AkAudioAPI_AVAudioEngine | AkAudioAPI_AudioUnit, AkAudioAPI_AVAudioEngine = 1 << 0, AkAudioAPI_AudioUnit = 1 << 1,
  AkAudioAPI_Default = AkAudioAPI_AVAudioEngine | AkAudioAPI_AudioUnit, AkAPI_PulseAudio = 1 << 0, AkAPI_ALSA = 1 << 1, AkAPI_Default = AkAPI_PulseAudio | AkAPI_ALSA
}
 

函数

AKSOUNDENGINE_API void AK::SoundEngine::iOS::ChangeAudioSessionProperties (const AkAudioSessionProperties &in_properties)
 
AKSOUNDENGINE_API AkDeviceID AK::SoundEngine::GetDeviceIDFromPlayerIndex (int playerIndex)
 

详细描述

Main Sound Engine interface, specific iOS.

在文件 AkiOSSoundEngine.h 中定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅