Version

menu_open
virtual void AK::IAkSinkPlugin::Consume ( AkAudioBuffer in_pInputBuffer,
AkRamp  in_gain  
) [pure virtual]

Present an audio buffer to the sink. The audio buffer is in the native format of the sound engine (typically float, deinterleaved), as specified by io_rFormat passed to Init(). It is up to the plugin to transform it into a format that is compatible with its output. Note that Consume() is not called if the output for this frame consists of silence. Plugins should detect this in OnFrameEnd().

See also:
Parameters:
in_pInputBuffer  Input audio buffer data structure. Plugins should avoid processing data in-place.
in_gain  Volume gain to apply to this input (prev corresponds to the beginning, next corresponds to the end of the buffer).

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