Skip to content

Commit

Permalink
Couple of more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-k committed Jan 5, 2023
1 parent 6c72176 commit b2ebcfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
build:
stack build csound-expression #-dynamic
stack build # csound-expression #-dynamic

bench:
stack build csound-expression:bench:csound-expression-benchmark # --profile
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ ppConvertRate out to from var = case (to, from) of
(Ar, Nothing) -> out $= toA var
(Kr, Nothing) -> out $= toK var
(Ir, Nothing) -> out $= toI var
(a, Just b) | a == b -> out $= var
(a, b) -> error $ "bug: no rate conversion from " ++ show b ++ " to " ++ show a ++ "."
where
upsamp x = ppOpc out "upsamp" [x]
Expand Down

0 comments on commit b2ebcfc

Please sign in to comment.