Browse Source

Remove libsamplerate submodule, fix Delay build on MacOS

tags/v0.6.0
Andrew Belt 6 years ago
parent
commit
2d39dc7591
3 changed files with 1 additions and 5 deletions
  1. +0
    -3
      .gitmodules
  2. +0
    -1
      dep/libsamplerate
  3. +1
    -1
      src/Delay.cpp

+ 0
- 3
.gitmodules View File

@@ -1,3 +0,0 @@
[submodule "dep/libsamplerate"]
path = dep/libsamplerate
url = https://github.com/erikd/libsamplerate.git

+ 0
- 1
dep/libsamplerate

@@ -1 +0,0 @@
Subproject commit 56c3897f605dbfbd3db55f46866275823c9ba4bd

+ 1
- 1
src/Delay.cpp View File

@@ -69,7 +69,7 @@ void Delay::step() {

if (outBuffer.empty()) {
double ratio = 1.f;
if (abs(consume) >= 16) {
if (fabsf(consume) >= 16.f) {
ratio = powf(10.f, clamp(consume / 10000.f, -1.f, 1.f));
}



Loading…
Cancel
Save