fixes for Swift 6 and threading concerns
This commit is contained in:
@@ -88,6 +88,7 @@ private func expectedNewWeight(blockIndex: Int, totalBlocks: Int) -> Double {
|
||||
|
||||
// MARK: - Test suite
|
||||
|
||||
@MainActor
|
||||
@Suite("ParameterNode crossfade")
|
||||
struct ParameterNodeCrossfadeTests {
|
||||
|
||||
|
||||
@@ -90,6 +90,7 @@ private func renderBlock(
|
||||
|
||||
// MARK: - Test suite
|
||||
|
||||
@MainActor
|
||||
@Suite("ParameterNode public source API")
|
||||
struct ParameterNodeSourceAPITests {
|
||||
|
||||
|
||||
@@ -65,6 +65,7 @@ private final class SentinelSource: GeneratorBase, AudioGenerator {
|
||||
|
||||
// MARK: - Test suite
|
||||
|
||||
@MainActor
|
||||
@Suite("ParameterNode source slot")
|
||||
struct ParameterNodeSourceSlotTests {
|
||||
|
||||
|
||||
@@ -73,6 +73,7 @@ private func rmsD(_ samples: [Double]) -> Double {
|
||||
|
||||
// MARK: - Test suite
|
||||
|
||||
@MainActor
|
||||
@Suite("ParameterNode source-swap integration")
|
||||
struct ParameterSourceSwapIntegrationTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user