Enum AuditySourceMode
How a Sound sources its audio.
Assembly: DarkEffekt.Audity.Runtime
Section titled “Assembly: DarkEffekt.Audity.Runtime”public enum AuditySourceMode : byteFields
Section titled “Fields”Sampler
Section titled “Sampler”Clip PCM is decoded up front into the program’s PCM bank. Enables pitch, loop regions, crossfaded loops and sample-exact triggering. Requires a readable/decompressable clip and holds decompressed PCM in memory. Shown in the UI as “In-Memory”.
[InspectorName("In-Memory")]Sampler = 0Streamed
Section titled “Streamed”The AudioClip plays through its own built-in generator instance, pulled by Audity and resampled for pitch. Whole-clip looping only; instances are pre-stocked so triggers are usually still immediate. Forces the Wave Player to a single cut-mode voice (instance lifetime is pipe-mediated).
Streamed = 1Tier 2: PCM is paged on demand from a DecompressOnLoad clip via main-thread GetData windows prefetched over the pipe - full sampler semantics (seek, loop regions, crossfaded loops, jumps) without the duplicate resident bank.
Paged = 2Authoring-only: the compiler’s tier planner resolves to Sampler, Paged or Streamed per clip (clip load type + length heuristic). Never appears in a compiled program.
Auto = 3