Synced
- Provides script-friendly access to the audio service in the current execution context.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: object
Project: Inno.Audio
Scope: Runtime
Declaration
Section titled “Declaration”public static class InnoEngine.Audio.AudioMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | Audio.Pause | Pauses a live voice. |
| Methods | Audio.Play(InnoEngine.Audio.AudioClipAsset) | Starts one clip using default playback parameters. |
| Methods | Audio.Play(InnoEngine.Audio.AudioClipAsset,InnoEngine.Audio.AudioPlayOptions) | Starts one clip using explicit playback parameters. |
| Methods | Audio.PlayScheduled | Schedules one clip against the monotonic audio clock. |
| Methods | Audio.PreloadAsync | Prepares a clip and retains it in the runtime cache. |
| Methods | Audio.ReleasePreload | Releases one explicit preload retention without interrupting active voices. |
| Methods | Audio.Resume | Resumes a paused voice. |
| Methods | Audio.Seek | Moves a live voice cursor to a clip-relative position. |
| Methods | Audio.SetBusMuted | Updates mute state for a semantic mixer bus. |
| Methods | Audio.SetBusPaused | Updates pause state for a semantic mixer bus. |
| Methods | Audio.SetBusVolume | Updates linear gain for a semantic mixer bus. |
| Methods | Audio.SetVoiceParameters | Replaces mutable parameters for a live voice. |
| Methods | Audio.Stop | Stops a live voice. |
| Methods | Audio.TryGetVoiceState | Queries the current state of a voice. |
| Properties | Audio.capabilities | Gets immutable capabilities for the current audio device generation. |
| Properties | Audio.deviceState | Gets the current output availability state. |
| Properties | Audio.dspTime | Gets the monotonic audio clock in seconds. |
| Properties | Audio.statistics | Gets current audio resource statistics. |