版本

menu_open
警告:系统已根据您所用大版本 (2024.1.1.8691) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
目标平台:
Wwise SDK 2024.1.1
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
 Definition of data structures for AkAudioObject
 
 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,
  AkAudioSessionCategory_Last
}
 
enum  AkAudioSessionCategoryOptions {
  AkAudioSessionCategoryOptionMixWithOthers = 1, AkAudioSessionCategoryOptionDuckOthers = 2, AkAudioSessionCategoryOptionAllowBluetooth = 4, AkAudioSessionCategoryOptionDefaultToSpeaker = 8,
  AkAudioSessionCategoryOptionAllowBluetoothA2DP = 0x20, AkAudioSessionCategoryOptions_Last
}
 
enum  AkAudioSessionMode {
  AkAudioSessionModeDefault = 0, AkAudioSessionModeVoiceChat, AkAudioSessionModeGameChat, AkAudioSessionModeVideoRecording,
  AkAudioSessionModeMeasurement, AkAudioSessionModeMoviePlayback, AkAudioSessionModeVideoChat, AkAudioSessionMode_Last
}
 
enum  AkAudioSessionRouteSharingPolicy { AkAudioSessionRouteSharingPolicyDefault = 0, AkAudioSessionRouteSharingPolicyLongFormAudio = 1, AkAudioSessionRouteSharingPolicyLongFormVideo = 3, AkAudioSessionRouteSharingPolicy_Last }
 The IDs of the iOS audio session route sharing policies, which determine which audio routes are permitted for the audio session controlled by Wwise. These policies only apply for the "Playback" audio session category. These IDs are funtionally equivalent to the corresponding constants defined by the iOS audio session service backend (AVAudioSession). Refer to Xcode documentation for details on the audio session route-sharing policies. The original prefix "AV" is replaced with "Ak" for the ID names. 更多...
 
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_Last, 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 之旅