splitting into PSound/PSound2

This commit is contained in:
benfry
2005-02-04 17:50:35 +00:00
parent feb4d1c84d
commit 5bd2aad5b0
3 changed files with 199 additions and 92 deletions

View File

@@ -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));
}