[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcjwebplugin-devel] Patch: implement getAudioClip
From: |
Tom Tromey |
Subject: |
[Gcjwebplugin-devel] Patch: implement getAudioClip |
Date: |
14 Nov 2005 12:31:04 -0700 |
I'm not sure whether this is completely correct, but it seems ok to
me. What do you think?
Applet.newAudioClip() is currently just a stub in Classpath, but I
sent a patch to fix this too. (Of course that will just end up in
failure, too, because we don't have javax.sound providers yet ... but
we're getting closer.)
Tom
Index: ChangeLog
from Tom Tromey <address@hidden>
* src/gnu/gcjwebplugin/CommonAppletContext.java (getAudioClip):
Implement.
Index: src/gnu/gcjwebplugin/CommonAppletContext.java
===================================================================
RCS file:
/cvsroot/gcjwebplugin/gcjwebplugin/src/gnu/gcjwebplugin/CommonAppletContext.java,v
retrieving revision 1.2
diff -u -r1.2 CommonAppletContext.java
--- src/gnu/gcjwebplugin/CommonAppletContext.java 3 Apr 2004 10:21:34 -0000 1.2
+++ src/gnu/gcjwebplugin/CommonAppletContext.java 14 Nov 2005 18:35:37 -0000
@@ -1,5 +1,5 @@
/* CommonAppletContext.java -- a common applet's context
- Copyright (C) 2004 Michael Koch <address@hidden>
+ Copyright (C) 2004, 2005 Michael Koch <address@hidden>
This file is part of GCJ Applet Viewer.
@@ -57,7 +57,7 @@
///////////////////////////////
public AudioClip getAudioClip(URL url)
{
- throw new Error("not implemented");
+ return Applet.newAudioClip(url);
}
public Image getImage(URL url)
- [Gcjwebplugin-devel] Patch: implement getAudioClip,
Tom Tromey <=