|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.gnu.glib.Boxed
|
+--org.gnu.gnome.Sound
Class that can be used to play a sound.
| Constructor Summary | |
Sound()
|
|
| Method Summary | |
void |
initialize(java.lang.String hostname)
Initialize the esd connection |
static int |
loadSample(java.lang.String sampleName,
java.lang.String fileName)
Load the sample provided |
static void |
play(java.lang.String filename)
Play the specifyed sound file. |
static void |
shutdown()
Shutdown the sound system. |
| Methods inherited from class org.gnu.glib.Boxed |
equals, getHandle |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Sound()
| Method Detail |
public void initialize(java.lang.String hostname)
public static void play(java.lang.String filename)
filename - The file to play
public static int loadSample(java.lang.String sampleName,
java.lang.String fileName)
public static void shutdown()
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||