Namespace Unity.Tiny.Audio
Classes
AudioSystem
Structs
Audio2dPanning
An Audio2dPanning component controls an AudioSource's 2d panning.
Audio3dPanning
An Audio3dPanning component controls an AudioSource's 3d panning.
AudioClip
An AudioClip represents a single audio resource that can play back on one or more AudioSource components.
AudioClipCompressed
AudioClipCompressed is the audio clip's compressed data, in MP3 or Vorbis format.
AudioClipLoadFromFile
Attach this component to an entity with an AudioClip and AudioClipLoadFromFileAudioFile component to begin loading an audio clip.
AudioClipLoadFromFileAudioFile
Location of the audio file. AudioClip
AudioClipUncompressed
AudioClipUncompressed is the audio clip's uncompressed data. It is in stereo, 16-bits-per-sample format. Audio clips are originally loaded into memory in AudioClipCompressed components. In the AudioClipLoadType is DecompressOnPlay, the AudioClipUncompressed component will be filled in after decompression is first performed. There is a build setting that affects the uncompressed audio memory limit. When it is exceeded, some AudioClipUncompressed components will be cleared out to save memory based on a least-recently-used policy.
AudioClipUsage
AudioClipUsage stores data regarding if its associated AudioClip is being played and how recently it was played. This is used when determining which AudioClipUncompressed components to clear to reduce memory usage.
AudioDistanceAttenuation
An AudioDistanceAttenuation component adjusts an AudioSource's volume.
AudioListener
Attach an AudioListener component to an entity with a LocalToWorld component. 3d audio panning and distance-attenuation will be calculated relative to this entity's position and orientation.
AudioPitch
An AudioPitch component adjusts an AudioSource's pitch.
AudioSource
An AudioSource component plays back one audio clip at a time.
AudioSourceID
AudioSourceStart
Attach this component to an entity with an AudioSource component to start playback the next time the AudioSystem updates.
AudioSourceStop
Attach this component to an entity with an AudioSource component to stop playback the next time the AudioSystem updates.
EntityPlaying
EntityToStop
SourceIDToStop
Enums
AudioClipLoadType
An enum that tells which audio clip loading strategy is being used.
AudioClipStatus
An enum listing the possible states an audio clip can be in during loading. Used by the AudioClip component to track loading status.
AudioRolloffMode
When a 3d sound is played, it is distance-attenuated; its volume is lowered as the sound moves away from the listener.