Skip to content

Commit 8b07319

Browse files
committed
Debug audio unit installation
1 parent 6eb43aa commit 8b07319

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/macos-at-driver-server/MacOSATDriverServer/MacOSATDriverServer/Common/Audio/SimplePlayEngine.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ extension AVAudioUnit {
3030
componentManufacturer: manufacturer.fourCharCode!,
3131
componentFlags: 0,
3232
componentFlagsMask: 0)
33+
let allComponents = AVAudioUnitComponentManager.shared().components(passingTest: { (_, _) in
34+
return true
35+
});
36+
print(allComponents.map { "\($0.manufacturerName) - \($0.name)" }.joined(separator: "\n"))
3337
return AVAudioUnitComponentManager.shared().components(matching: description).first
3438
}
3539

0 commit comments

Comments
 (0)