Device editors ask BespokeEditors for headers, whole bodies, drawings and card actions; DeviceDataSource gives them DSP data and hidden settings, backed by app slots (SlotDataSource) or AUs (AUDataSource, hidden values in SizzleDeviceAU). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
405 B
Swift
13 lines
405 B
Swift
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
import Foundation
|
|
|
|
/// DeviceDataSource for an AUv3 (the plugin extension, the device lab). Each
|
|
/// device's Bespoke file adds what it supports in an extension of this class.
|
|
@MainActor
|
|
final class AUDataSource: DeviceDataSource {
|
|
let au: SizzleDeviceAU
|
|
init(au: SizzleDeviceAU) { self.au = au }
|
|
}
|