Version
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...
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. |
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.
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'AideEnregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise