From 4004d887b5ed35bcf47de1eb8bb37f9780513e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Leischner?= <50262885+trackme518@users.noreply.github.com> Date: Fri, 8 Dec 2023 19:28:10 +0100 Subject: [PATCH] update AudioSample Allow reference of new instance of AudioSample so we can call .amp() function on it. --- src/processing/sound/AudioSample.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processing/sound/AudioSample.java b/src/processing/sound/AudioSample.java index 2985e3b..f3ec177 100644 --- a/src/processing/sound/AudioSample.java +++ b/src/processing/sound/AudioSample.java @@ -467,7 +467,7 @@ public void play() { // for improved handling by the user, could return a reference to // whichever audiosample object is the actual source (i.e. JSyn // container) of the newly triggered playback - // return source; + return source; } public void play(float rate) {