You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hang Risk with Beethoven > InputSignalTracker.swift > start() #79
When running GuitarTuner on multiple, different iOS devices (iPhone, iPad), there is a Hang Risk issue raised each time InputSignalTracker's start() method is called.
line of code: 84
code: captureSession.startRunning()
issue: -[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness
Build Settings - Swift Language Version: Swift 5
iOS Deployment Target: iOS 12.0
Xcode Version: 14.2
iPhone & iPad iOS Version: 16.2
This also happens with my own app when using Beethoven audio processing Swift library.
Activity
lindezhen commentedon Mar 20, 2023
DispatchQueue.global(qos: .userInitiated).async {
self.captureSession.startRunning()
}
arlomedia commentedon Nov 14, 2025
I included this change in a pull request I just submitted:
#80