fixes for Swift 6 and threading concerns
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
import Testing
|
||||
@testable @_spi(LyrebirdExtensions) import LyrebirdSynth
|
||||
|
||||
@MainActor
|
||||
@Suite("In (audio bus)")
|
||||
struct InGeneratorTests {
|
||||
let engine: SynthesisEngine = makeTestEngine(blockSize: 64)
|
||||
@@ -78,6 +79,7 @@ struct InGeneratorTests {
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor
|
||||
@Suite("ControlIn")
|
||||
struct ControlInTests {
|
||||
let engine: SynthesisEngine = makeTestEngine(blockSize: 64)
|
||||
@@ -137,6 +139,7 @@ struct ControlInTests {
|
||||
|
||||
// MARK: - Multi-channel In.Audio
|
||||
|
||||
@MainActor
|
||||
@Suite("In.Audio multi-channel")
|
||||
struct InAudioMultiChannelTests {
|
||||
let engine: SynthesisEngine = makeTestEngine(blockSize: 64)
|
||||
@@ -198,6 +201,7 @@ struct InAudioMultiChannelTests {
|
||||
|
||||
// MARK: - Multi-channel In.Control
|
||||
|
||||
@MainActor
|
||||
@Suite("In.Control multi-channel")
|
||||
struct InControlMultiChannelTests {
|
||||
let engine: SynthesisEngine = makeTestEngine(blockSize: 64)
|
||||
|
||||
Reference in New Issue
Block a user