// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown // SPDX-License-Identifier: GPL-3.0-or-later #import "SizzleSession.h" NS_ASSUME_NONNULL_BEGIN /// API for the device editors' Viz views beyond SizzleSession.h. @interface SizzleSession (Viz) /// Toolbox [slot]'s live effect scope (AudioEngine.effectScope): copies up to /// [capacity] samples, oldest to newest, into [out] and returns the count, or -1 /// while the slot isn't a scope effect on a mixer channel (nothing to draw). /// Lock-free (doesn't take the song lock), so it can be polled at display rate. - (NSInteger)copyEffectScopeOfSlot:(NSInteger)slot into:(float *)out capacity:(NSInteger)capacity; /// Its read head within the scope window, 0 (oldest) to 1 (newest), or -1. - (float)effectPlayheadOfSlot:(NSInteger)slot; @end NS_ASSUME_NONNULL_END