Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2023.1.4.8496 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Wwise SDK 2023.1.4

◆ Init()

virtual AKRESULT AK::IAkAudioDeviceEffectPlugin::Init ( IAkPluginMemAlloc in_pAllocator,
IAkAudioDeviceEffectPluginContext in_pEffectPluginContext,
IAkPluginParam in_pParams,
const AkAudioFormat in_rFormat,
const Ak3DAudioSinkCapabilities in_3dCapabilities 
)
pure virtual

Audio device effect plug-in initialization. Prepares the effect for data processing, allocates memory and sets up the initial conditions.

Note: Memory allocation should be done through appropriate macros (see Allocating/De-allocating Memory in Audio Plug-ins).
Parameters
in_pAllocatorInterface to memory allocator to be used by the effect
in_pEffectPluginContextInterface to audio effect's plug-in context
in_pParamsInterface to plug-in parameters
in_rFormatAudio data format of the input/output signal. Matches the channel configuration of the audio device sink plug-in. If format is object-based (AkChannelConfig::eConfigType is Ak_ChannelConfigType_Objects), the plug-in should verify Ak3DAudioSinkCapabilities to determine which inputs it can expect in Execute (main mix, passthrough, objects).
in_3dCapabilities3D capabilities of the output device sink plug-in. If io_rFormat is not object-based, this can be ignored and only the main mix will be submitted to Execute().

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise