add scope for debugging
This commit is contained in:
@@ -84,6 +84,16 @@ public final class ShoeGaze {
|
||||
/// (same module, different file) can mutate it.
|
||||
internal var recordTaps: [RecordTap] = []
|
||||
|
||||
// MARK: - Scope state
|
||||
|
||||
/// Scope tap over the hardware input + output buses, feeding the debug scope view.
|
||||
///
|
||||
/// Rebuilt by ``installScopeTap(bufferSize:)`` whenever the engine layout changes (so the
|
||||
/// tapped bus indices follow the current input/output channel counts). `nil` until first
|
||||
/// installed. The setter is `internal` so ``installScopeTap(bufferSize:)`` (same module,
|
||||
/// different file) can assign it; external callers observe it through this `public` getter.
|
||||
public internal(set) var scopeTap: ScopeCapture?
|
||||
|
||||
// MARK: - Private
|
||||
|
||||
private var testLoopSources: [TestLoopSource] = []
|
||||
@@ -110,6 +120,7 @@ public final class ShoeGaze {
|
||||
) {
|
||||
self.engine = engine
|
||||
self.inputSource = inputSource
|
||||
installScopeTap()
|
||||
}
|
||||
|
||||
// MARK: - Board management
|
||||
|
||||
Reference in New Issue
Block a user