menu
 
Version
2017.2.10.6745

2024.1.5.8803

2023.1.13.8732

2022.1.19.8584

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624

menu

AkAudioInputManager Class Reference

This class represents an example audio input manager and is responsible for managing the audio sample and format callbacks provided to the Wwise Audio Input plug-in. More...

List of all members.

Public Member Functions

delegate void  AudioFormatDelegate (uint playingID, AkAudioFormat format)
  Sanitized audio format delegate to be used by classes that implement audio input plug-ins. The samples are ALWAYS set to be non-interleaved 32-bit float.
delegate void  AudioFormatInteropDelegate (uint playingID, System.IntPtr format)
  Audio format delegate that is sent to C++.
delegate bool  AudioSamplesDelegate (uint playingID, uint channelIndex, float[] samples)
  Sanitized audio sample delegate to be used by classes that implement audio input plug-ins. For every event posted, this delegate is called once per audio frame for each channel until the delegates for all the channels associated with this event return false.
delegate bool  AudioSamplesInteropDelegate (uint playingID,[System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPArray, SizeParamIndex=3)] float[] samples, uint channelIndex, uint frames)
  Audio sample delegate that is sent to C++.

Static Public Member Functions

static uint  PostAudioInputEvent (AK.Wwise.Event akEvent, UnityEngine.GameObject gameObject, AudioSamplesDelegate sampleDelegate, AudioFormatDelegate formatDelegate=null)
  This method is used to post events that use the Wwise Audio Input plug-in.
static uint  PostAudioInputEvent (uint akEventID, UnityEngine.GameObject gameObject, AudioSamplesDelegate sampleDelegate, AudioFormatDelegate formatDelegate=null)
  This method is used to post events that use the Wwise Audio Input plug-in.
static uint  PostAudioInputEvent (string akEventName, UnityEngine.GameObject gameObject, AudioSamplesDelegate sampleDelegate, AudioFormatDelegate formatDelegate=null)
  This method is used to post events that use the Wwise Audio Input plug-in.

Detailed Description

This class represents an example audio input manager and is responsible for managing the audio sample and format callbacks provided to the Wwise Audio Input plug-in.

Generated on Mon Apr 15 18:03:42 2019 for Wwise Unity Integration by  doxygen 1.6.3

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