add scope for debugging
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user