Namespace Serenity.AudioPlayer.Domain.Types
Structs
AudioPlaybackCandidate
Pure, Unity-agnostic snapshot of a currently playing audio slot, used by
IAudioPriorityCandidateSelector
to decide which slot (if any) should be reassigned to a higher-priority sound.
Keeping this free of AudioSource lets the replacement decision be unit tested
without the Unity runtime.
AudioReverbAdmission
The outcome of asking for a reverb slot: whether the candidate got one, and which voice gave its slot up for it.
AudioReverbVoice
One voice that currently holds a reverb slot: where it sits in the pool and how far it is from the listener.
Enums
AudioPlayerType
Enumeration of different types of audio players.
AudioPriorityPolicy
Determines how the audio player should behave when a clip is requested but no
free AudioSource is available in the pool.
Priority is expressed in Serenity semantics: a higher numeric priority means the
sound is more important (the opposite of Unity's AudioSource.priority).
AudioRolloffMode
Engine-agnostic equivalent of Unity's AudioRolloffMode: how a 3D sound's volume
attenuates with distance from the listener.
Numeric values mirror UnityEngine.AudioRolloffMode so the Unity layer can map between
them by value. Lives in the Domain layer, which must not depend on UnityEngine.