Skip to content

Commit

Permalink
Liquids dsp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuedholt committed Jan 9, 2025
1 parent 41f6d95 commit 986ead6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "pysdt"
version = "0.1.1"
version = "0.1.2"
description = "A thin Python wrapper around the Sound Design Toolkit"
readme = "README.md"
requires-python = ">=3.10"
Expand Down Expand Up @@ -38,7 +38,7 @@ sdist.cmake = true
# Necessary to see build output from the actual compilation
build-verbosity = 1
build-frontend = "build[uv]"
skip = ["pp*"]
skip = ["pp*", "*musllinux*"]

test-command = "pytest {project}/tests"
test-requires = "pytest"
Expand Down
4 changes: 2 additions & 2 deletions src/wrappers/Liquids.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace sdtwrappers {
void trigger() { SDTBubble_trigger(ptr.get()); }
void normAmp() { SDTBubble_normAmp(ptr.get()); }

void dsp() { SDTBubble_dsp(ptr.get()); }
double dsp() { return SDTBubble_dsp(ptr.get()); }
};

class FluidFlow {
Expand All @@ -33,6 +33,6 @@ namespace sdtwrappers {
SDT_WRAP_PROPERTY(FluidFlow, RiseCutoff, double)
SDT_WRAP_PROPERTY(FluidFlow, AvgRate, double)

void dsp() { SDTFluidFlow_dsp(ptr.get()); }
double dsp() { return SDTFluidFlow_dsp(ptr.get()); }
};
}

0 comments on commit 986ead6

Please sign in to comment.