Skip to content

Commit

Permalink
Merge pull request #15 from AudioKit/assert-fixes
Browse files Browse the repository at this point in the history
Adding cassert a la #14
  • Loading branch information
aure committed Jul 11, 2023
2 parents ce46ce4 + dd0a417 commit 55259ab
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ let package = Package(
products: [.library(name: "DunneAudioKit", targets: ["DunneAudioKit"])],
dependencies: [
.package(url: "https://github.com/AudioKit/KissFFT", from: "1.0.0"),
.package(url: "https://github.com/AudioKit/AudioKit", from: "5.5.0"),
.package(url: "https://github.com/AudioKit/AudioKitEX", from: "5.5.0"),
.package(url: "https://github.com/AudioKit/AudioKit", from: "5.6.0"),
.package(url: "https://github.com/AudioKit/AudioKitEX", from: "5.6.0"),
],
targets: [
.target(name: "DunneAudioKit", dependencies: ["AudioKit", "AudioKitEX", "CDunneAudioKit"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "EnvelopeGeneratorBase.h"
#include <cmath>
#include <cassert>

namespace DunneCore
{
Expand Down
1 change: 1 addition & 0 deletions Sources/CDunneAudioKit/DunneCore/Synth/WaveStack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "WaveStack.h"
#include "kiss_fftr.h"
#include <cassert>

namespace DunneCore
{
Expand Down
2 changes: 1 addition & 1 deletion Tests/DunneAudioKitTests/GenericNodeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class GenericNodeTests: XCTestCase {
}

func testEffects() {
nodeParameterTest(md5: "1f023474b6150286e854485f00a0d1b4", factory: { input in Flanger(input) })
nodeParameterTest(md5: "b09c41cdef96fb4cfe89c34c5262e9d2", factory: { input in Flanger(input) })
nodeParameterTest(md5: "2d667d22162edd87d6ae8ec8bfccc77e", factory: { input in StereoDelay(input) })
}
}
6 changes: 3 additions & 3 deletions Tests/DunneAudioKitTests/ValidatedMD5s.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ extension XCTestCase {
let validatedMD5s: [String: String] = [
"-[SamplerTests testSampler]": "8739229f6bc52fa5db3cc2afe85ee580",
"-[SamplerTests testSamplerAttackVolumeEnvelope]": "bf00177ac48148fa4f780e5e364e84e2",
"-[SynthTests testChord]": "155d8175419836512ead0794f551c7a0",
"-[SynthTests testMonophonicPlayback]": "77fb882efcaf29c3a426036d85d04090",
"-[SynthTests testParameterInitialization]": "e27794e7055b8ebdbf7d0591e980484e",
"-[SynthTests testChord]": "670c95beba121ff85150eb12497f3652",
"-[SynthTests testMonophonicPlayback]": "625554cfe7cc840083df9931d47490a6",
"-[SynthTests testParameterInitialization]": "7bd35b742ceff0ba77238d7da2ef046d",
"-[TransientShaperTests testAttackAmount]": "481068b77fc73b349315f2327fb84318",
"-[TransientShaperTests testDefault]": "cea9fc1deb7a77fe47a071d7aaf411d3",
"-[TransientShaperTests testOutputAmount]": "e84963aeedd6268dd648dd6a862fb76a",
Expand Down

0 comments on commit 55259ab

Please sign in to comment.