Skip to content

Commit a84c5d7

Browse files
committed
Remove amplitude check restrictions on AudioSample (closes #93)
1 parent a3ac316 commit a84c5d7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/processing/sound/AudioSample.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,7 @@ public boolean isPlaying() {
164164
* @webBrief Changes the amplitude/volume of the player.
165165
**/
166166
public void amp(float amp) {
167-
if (Engine.checkAmp(amp)) {
168-
this.player.amplitude.set(amp);
169-
}
167+
this.player.amplitude.set(amp);
170168
}
171169

172170
/**

0 commit comments

Comments
 (0)