add scope for debugging

This commit is contained in:
2026-06-22 21:07:13 -07:00
parent c6f567535b
commit ed27ab166c
8 changed files with 156 additions and 1 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
private static let outputChannels: Int = 2
// Built-in mics are mono; default to one input channel so live input works out of the box
// (CoreAudio can't satisfy more input channels than the device provides). Raise in the UI.
private static let inputChannels: Int = 1
private static let inputChannels: Int = 6
private static let numAudioBuses: Int = 256
// MARK: - Window geometry constants
+4
View File
@@ -79,6 +79,10 @@ struct DemoRootView: View {
.overlay(Color.white.opacity(DemoRootView.dividerOpacity))
contentArea
.padding(DemoRootView.contentPadding)
Divider()
.overlay(Color.white.opacity(DemoRootView.dividerOpacity))
ShoeGazeScopeView(shoeGaze: controller.shoeGaze)
.padding(DemoRootView.contentPadding)
}
.frame(
minWidth: DemoRootView.windowMinWidth,
@@ -182,6 +182,8 @@ final class ShoeGazeDemoController {
inputSource = .testLoop
}
buildSession()
// Input buses follow the output buses, so the tapped indices change with the layout.
shoeGaze.installScopeTap()
if wasRunning { start() }
}