Version

menu_open
Wwise SDK 2018.1.11

◆ Seek()

virtual AKRESULT AK::IAkSourcePlugin::Seek ( AkUInt32  )
inlinevirtual

This method is called to tell the source to seek to an arbitrary sample. This will typically be called when the game calls AK::SoundEngine::SeekOnEvent() where the event plays a sound that wraps this source plug-in. If the plug-in does not handle seeks, it should return AK_Success. If it returns AK_Fail, it will be terminated by the sound engine.

Returns
  • AK_Success if the source handles or ignores seek command.
  • AK_Fail if the source considers that seeking requests should provoke termination, for example, if the desired position is greater than the prescribed source duration.
See also

Definition at line 1070 of file IAkPlugin.h.

References AK_Success.


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