Go to the documentation of this file.
32 #ifndef _AK_IOS_SOUND_ENGINE_H_
33 #define _AK_IOS_SOUND_ENGINE_H_
38 #include <AudioToolbox/AudioToolbox.h>
137 typedef enum AkAudioAPIiOS
148 #define AKMOTION_RESIDENT_MODE (0x80000000)
152 namespace SoundEngine
163 const AudioBufferList* io_Data,
184 bool in_bEnterInterruption,
250 #endif //_AK_IOS_SOUND_ENGINE_H_
uint16_t AkUInt16
Unsigned 16-bit integer.
Definition of data structures for AkAudioObject.
@ AkAudioSessionCategoryOptionMixWithOthers
Same as AVAudioSessionCategoryOptionMixWithOthers. Only affects PlayAndRecord and Playback categories...
@ AkAudioSessionRouteSharingPolicyLongFormAudio
Corresponds to AVAudioSessionRouteSharingPolicyLongFormAudio.
@ AkAudioSessionRouteSharingPolicy_Last
End of enum, invalid value.
@ AkAudioSessionMode_Last
End of enum, invalid value.
@ AkAudioSessionCategoryPlayback
Audio session category corresponding to the AVAudiosession's AVAudioSessionCategoryPlayback constant.
AkAudioSessionCategoryOptions eCategoryOptions
AKSOUNDENGINE_API void ChangeAudioSessionProperties(const AkAudioSessionProperties &in_properties)
AK::SoundEngine::iOS::AudioInputCallbackFunc inputCallback
Application-defined audio input callback function.
#define AK_EXTERNAPIFUNC(_type, _name)
@ AkAudioSessionCategoryOptionAllowBluetooth
Same as AVAudioSessionCategoryOptionAllowBluetooth. Only affects PlayAndRecord category.
AKRESULT
Standard function call result.
AkAudioSessionCategory eCategory
AkUInt32 AkDeviceID
I/O device ID.
AKRESULT(* AudioInputCallbackFunc)(const AudioBufferList *io_Data, void *in_pCookie)
@ AkAudioSessionRouteSharingPolicyLongFormVideo
Corresponds to AVAudioSessionRouteSharingPolicyLongFormVideo.
AK::SoundEngine::iOS::AudioInterruptionCallbackFunc interruptionCallback
Application-defined audio interruption callback function.
void * inputCallbackCookie
Application-defined user data for the audio input callback function.
@ AkAudioSessionModeMeasurement
Audio session mode corresponding to the AVAudiosession's AVAudioSessionModeMeasurement constant.
AkAudioSessionBehaviorOptions
Flags that can modify the default Sound Engine behavior related to the management of the audio sessio...
AkAudioSessionRouteSharingPolicy eRouteSharingPolicy
@ AkAudioSessionModeDefault
Audio session mode corresponding to the AVAudiosession's AVAudioSessionModeDefault constant.
@ AkAudioAPI_Default
Default value, will select the more appropriate API (AVAudioEngine for compatible devices,...
@ AkAudioSessionRouteSharingPolicyDefault
Corresponds to AVAudioSessionRouteSharingPolicyDefault.
AkAudioSessionRouteSharingPolicy
The IDs of the iOS audio session route sharing policies, which determine which audio routes are permi...
@ AkAudioSessionCategorySoloAmbient
Audio session category corresponding to the AVAudiosession's AVAudioSessionCategorySoloAmbient consta...
@ AkAudioSessionCategory_Last
End of enum, invalid value.
void(* AudioInterruptionCallbackFunc)(bool in_bEnterInterruption, void *in_pCookie)
@ AkAudioSessionModeVideoChat
Audio session mode corresponding to the AVAudiosession's AVAudioSessionModeMoviePlayback constant.
@ AkAudioSessionCategoryOptions_Last
End of enum, invalid value.
@ AkAudioSessionCategoryAmbient
Audio session category corresponding to the AVAudiosession's AVAudioSessionCategoryAmbient constant.
AkAudioSessionBehaviorOptions eAudioSessionBehavior
Flags to change the default Sound Engine behavior related to the management of the iOS Audio Session ...
@ AkAudioSessionSetActiveOptionNotifyOthersOnDeactivation
Audio session activation option corresponding to the AVAudiosession's AVAudioSessionSetActiveOptionNo...
@ AkAudioSessionCategoryPlayAndRecord
Audio session category corresponding to the AVAudiosession's AVAudioSessionCategoryPlayAndRecord cons...
@ AkAudioSessionCategoryOptionDefaultToSpeaker
Same as AVAudioSessionCategoryOptionDefaultToSpeaker. Only affects PlayAndRecord category.
@ AkAudioAPI_AudioUnit
Use AudioUnit framework (basic functionality, compatible with all iOS devices)
@ AkAudioSessionModeVoiceChat
Audio session mode corresponding to the AVAudiosession's AVAudioSessionModeVoiceChat constant.
@ AkAudioSessionBehaviorSuspendInBackground
By default, the Sound Engine continues to render audio in the background when using PlayAndRecord or ...
AkAudioSessionCategoryOptions
@ AkAudioSessionModeGameChat
Audio session mode corresponding to the AVAudiosession's AVAudioSessionModeGameChat constant.
@ AkAudioSessionCategoryOptionAllowBluetoothA2DP
Same as AVAudioSessionCategoryOptionAllowBluetoothA2DP. Only affects PlayAndRecord category.
AkAudioSessionSetActiveOptions
void * interruptionCallbackCookie
Application-defined user data for the audio interruption callback function.
@ AkAudioAPI_AVAudioEngine
Use AVFoundation framework (modern, has more capabilities, not available for iOS/tvOS 12 or below)
uint32_t AkUInt32
Unsigned 32-bit integer.
@ AkAudioSessionModeVideoRecording
Audio session mode corresponding to the AVAudiosession's AVAudioSessionModeVideoRecording constant.
AkAudioSessionSetActiveOptions eSetActivateOptions
AKSOUNDENGINE_API AkDeviceID GetDeviceIDFromPlayerIndex(int playerIndex)
@ AkAudioSessionCategoryOptionDuckOthers
Same as AVAudioSessionCategoryOptionDuckOthers. Implicitely sets the MixWithOthers option....
@ AkAudioSessionModeMoviePlayback
Audio session mode corresponding to the AVAudiosession's AVAudioSessionModeMoviePlayback constant.
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