这是indexloc提供的服务,不要输入任何密码
Skip to content

Hang Risk with Beethoven > InputSignalTracker.swift > start() #79

@curtinmjc

Description

@curtinmjc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions