mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
splitting into PSound/PSound2
This commit is contained in:
@@ -1888,6 +1888,9 @@ public class PApplet extends Applet
|
||||
|
||||
|
||||
public PSound loadSound(String filename) {
|
||||
if (PApplet.jdkVersion >= 1.3) {
|
||||
return new PSound2(this, openStream(filename));
|
||||
}
|
||||
return new PSound(this, openStream(filename));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user