Interface AudityTelemetry.ISink
Assembly: DarkEffekt.Audity.Runtime
Section titled “Assembly: DarkEffekt.Audity.Runtime”public interface AudityTelemetry.ISinkMethods
Section titled “Methods”OnNode(int, int, float)
Section titled “OnNode(int, int, float)”void OnNode(int nodeIndex, int activeVoices, float meter)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Int32 |
nodeIndex |
System.Int32 |
activeVoices |
System.Single |
meter |
OnParameter(uint, float)
Section titled “OnParameter(uint, float)”void OnParameter(uint id, float value)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.UInt32 |
id |
System.Single |
value |
OnVoice(int, float, int, int, bool)
Section titled “OnVoice(int, float, int, int, bool)”A Wave Player’s first live voice position - playhead in clip-rate frames, plus the clip’s own frame count.
void OnVoice(int nodeIndex, float playhead, int clipFrames, int clipIndex, bool scheduled)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Int32 |
nodeIndex |
System.Single |
playhead |
System.Int32 |
clipFrames |
System.Int32 |
clipIndex |
System.Boolean |
scheduled |
OnStatus(int, long)
Section titled “OnStatus(int, long)”void OnStatus(int activeVoices, long clock)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Int32 |
activeVoices |
System.Int64 |
clock |
OnTiming(int, int, int, long, int)
Section titled “OnTiming(int, int, int, long, int)”One node’s accumulated render cost this window (ProfilerUnsafeUtility ticks; convert with TimestampToNanosecondsConversionRatio). Sent only while DarkEffekt.Audity.AudityTelemetry.TraceRequested.
void OnTiming(int instanceId, int nodeIndex, int kindIndex, long ticks, int blocks)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Int32 |
instanceId |
System.Int32 |
nodeIndex |
System.Int32 |
kindIndex |
System.Int64 |
ticks |
System.Int32 |
blocks |
OnBlockTiming(int, long, long, int, long)
Section titled “OnBlockTiming(int, long, long, int, long)”Whole-render cost this window: DSP load = ticks-as-seconds over (frames/sampleRate).
void OnBlockTiming(int instanceId, long ticks, long peakBlockTicks, int blocks, long frames)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Int32 |
instanceId |
System.Int64 |
ticks |
System.Int64 |
peakBlockTicks |
System.Int32 |
blocks |
System.Int64 |
frames |