Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Starts one clip using explicit playback parameters.

API: engine
Project: Inno.Audio.Runtime

public Inno.Audio.AudioVoiceHandle Inno.Audio.Runtime.AudioRuntime.Play(Inno.Audio.AudioClipAsset clip, Inno.Audio.AudioPlayOptions options)

Parameter clip: Imported clip to prepare and play.

Parameter options: Immutable playback parameters.

A preparing voice handle owned by the current device generation.

Exception T:System.ArgumentException: Playback options are uninitialized. The request is rejected before asset acquisition or voice stealing.