fixes for Swift 6 and threading concerns

This commit is contained in:
2026-06-02 12:09:44 -07:00
parent 2fa4bfd45e
commit 6d3a0930a1
327 changed files with 1596 additions and 199 deletions
@@ -29,6 +29,7 @@ private func runMagnitudeHops(
// MARK: - Construction
@MainActor
@Suite("OnsetDetector init validation")
struct OnsetDetectorInitTests {
@@ -61,6 +62,7 @@ struct OnsetDetectorInitTests {
// MARK: - Spectral flux ODF
@MainActor
@Suite("OnsetDetector .spectralFlux")
struct OnsetDetectorFluxTests {
@@ -185,6 +187,7 @@ struct OnsetDetectorFluxTests {
// MARK: - Complex-domain ODF
@MainActor
@Suite("OnsetDetector .complexDomain")
struct OnsetDetectorComplexDomainTests {
@@ -266,6 +269,7 @@ struct OnsetDetectorComplexDomainTests {
// MARK: - .Control output
@MainActor
@Suite("OnsetDetector.Control output")
struct OnsetDetectorControlTests {
@@ -361,6 +365,7 @@ struct OnsetDetectorControlTests {
// MARK: - End-to-end: real SpectralChain.Audio + impulse input
@MainActor
@Suite("OnsetDetector end-to-end via SpectralChain.Audio")
struct OnsetDetectorEndToEndTests {
@@ -422,6 +427,7 @@ struct OnsetDetectorEndToEndTests {
// MARK: - Registration precondition
@MainActor
@Suite("OnsetDetector.Control registration check")
struct OnsetDetectorRegistrationTests {