fixes for Swift 6 and threading concerns
This commit is contained in:
@@ -8,6 +8,7 @@ import Testing
|
||||
import Foundation
|
||||
@testable @_spi(LyrebirdExtensions) import LyrebirdSynth
|
||||
|
||||
@MainActor
|
||||
@Suite("SpectralChain.Audio — basic shape") struct SpectralChainBasicTests {
|
||||
|
||||
@Test func rateIsAudio() {
|
||||
@@ -40,6 +41,7 @@ import Foundation
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor
|
||||
@Suite("SpectralChain.Audio — analysis hop") struct SpectralChainAnalysisHopTests {
|
||||
|
||||
@Test func dcBinDominatesForConstantInput() throws {
|
||||
@@ -210,6 +212,7 @@ import Foundation
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor
|
||||
@Suite("SpectralChain.Audio — resynthesis") struct SpectralChainResynthesisTests {
|
||||
|
||||
@Test func monoResynthesisReachesUnityGainForDC() throws {
|
||||
@@ -266,6 +269,7 @@ import Foundation
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor
|
||||
@Suite("SpectralChain.Audio — synthOnly mode") struct SpectralChainSynthOnlyTests {
|
||||
|
||||
/// Build a frame buffer with a constant non-zero DC magnitude on every
|
||||
|
||||
Reference in New Issue
Block a user