fixes for Swift 6 and threading concerns
This commit is contained in:
@@ -66,6 +66,7 @@ fileprivate final class QuadConstantGen: GeneratorBase, AudioGenerator {
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor
|
||||
@Suite("BinaryOpGenerator")
|
||||
struct BinaryOpGeneratorTests {
|
||||
let engine: SynthesisEngine = makeTestEngine(blockSize: 8)
|
||||
@@ -137,6 +138,7 @@ struct BinaryOpGeneratorTests {
|
||||
|
||||
// MARK: - Multi-channel broadcast
|
||||
|
||||
@MainActor
|
||||
@Suite("BinaryOpGenerator multi-channel broadcast")
|
||||
struct BinaryOpGeneratorMultiChannelTests {
|
||||
let engine: SynthesisEngine = makeTestEngine(blockSize: 8)
|
||||
@@ -323,6 +325,7 @@ struct BinaryOpGeneratorMultiChannelTests {
|
||||
|
||||
// MARK: - Existential operator overloads (any ValidGeneratorInput op any ValidGeneratorInput)
|
||||
|
||||
@MainActor
|
||||
@Suite("BinaryOpGenerator existential operators")
|
||||
struct BinaryOpGeneratorExistentialTests {
|
||||
let engine: SynthesisEngine = makeTestEngine(blockSize: 8)
|
||||
@@ -421,6 +424,7 @@ struct BinaryOpGeneratorExistentialTests {
|
||||
|
||||
// MARK: - ConstantGeneratorInput
|
||||
|
||||
@MainActor
|
||||
@Suite("ConstantGeneratorInput")
|
||||
struct ConstantGeneratorInputTests {
|
||||
let engine: SynthesisEngine = makeTestEngine(blockSize: 8)
|
||||
|
||||
Reference in New Issue
Block a user