// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown // SPDX-License-Identifier: GPL-3.0-or-later #import "SizzleSession.h" NS_ASSUME_NONNULL_BEGIN /// Master-bus recording (Android's MasterRecorder + the mixer's record toolbar). /// Arm it, and the next Play (or an external MIDI clock Start) captures the final /// stereo mix to a 16-bit WAV, until a tail of [recordTailBars] bars after the /// sequencer stops. Takes go to Documents/Recordings/sizzle-yyyyMMdd-HHmmss.wav /// (visible in the Files app). The audio thread only writes into a ring buffer; a /// writer thread does the file I/O. @interface SizzleSession (Record) @property (nonatomic) BOOL recordArmed; /// FX tail captured after the sequencer stops, in bars (0..4). @property (nonatomic) NSInteger recordTailBars; /// True while a take is capturing (from its start until the file is finished). @property (nonatomic, readonly) BOOL masterRecording; /// The last finished take, if any (this run of the app). @property (nonatomic, readonly, nullable) NSURL *lastRecordingURL; @property (nonatomic, readonly) NSURL *recordingsDirectory; @end NS_ASSUME_NONNULL_END