fixes for Swift 6 and threading concerns
This commit is contained in:
@@ -9,6 +9,7 @@ import Testing
|
||||
|
||||
// MARK: - 2b.1 Partial series fill
|
||||
|
||||
@MainActor
|
||||
@Suite("LyrebirdBuffer fill(partials:)")
|
||||
struct BufferFillPartialsTests {
|
||||
|
||||
@@ -90,6 +91,7 @@ struct BufferFillPartialsTests {
|
||||
|
||||
// MARK: - 2b.2 Chebyshev polynomial tables
|
||||
|
||||
@MainActor
|
||||
@Suite("LyrebirdBuffer fillChebyshev(coefficients:)")
|
||||
struct BufferFillChebyshevTests {
|
||||
|
||||
@@ -136,6 +138,7 @@ struct BufferFillChebyshevTests {
|
||||
|
||||
// MARK: - 2b.3 Window function fills
|
||||
|
||||
@MainActor
|
||||
@Suite("LyrebirdBuffer fillWindow(_:)")
|
||||
struct BufferFillWindowTests {
|
||||
|
||||
@@ -237,6 +240,7 @@ struct BufferFillWindowTests {
|
||||
|
||||
// MARK: - 2b.4 Waveshaper transfer curves
|
||||
|
||||
@MainActor
|
||||
@Suite("LyrebirdBuffer fillWaveshaper(_:)")
|
||||
struct BufferFillWaveshaperTests {
|
||||
|
||||
@@ -326,6 +330,7 @@ struct BufferFillWaveshaperTests {
|
||||
|
||||
// MARK: - 2b.5 Band-limited waveform tables
|
||||
|
||||
@MainActor
|
||||
@Suite("LyrebirdBuffer fillBandLimited(_:fundamental:sampleRate:)")
|
||||
struct BufferFillBandLimitedTests {
|
||||
|
||||
@@ -401,6 +406,7 @@ struct BufferFillBandLimitedTests {
|
||||
|
||||
// MARK: - 2b.6 Inharmonic partial series
|
||||
|
||||
@MainActor
|
||||
@Suite("LyrebirdBuffer fillPartials(_:) and fillInharmonicPartials(fundamental:beta:amplitudes:)")
|
||||
struct BufferFillInharmonicTests {
|
||||
|
||||
@@ -486,6 +492,7 @@ struct BufferFillInharmonicTests {
|
||||
|
||||
// MARK: - 2b.7 WavetableSet factory
|
||||
|
||||
@MainActor
|
||||
@Suite("WavetableSet factory methods")
|
||||
struct WavetableSetTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user