public class FileStream extends URLStream
| Constructor and Description |
|---|
FileStream(SoundManager soundmgr,
File file,
boolean loop)
Creates a new stream for the specified file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
queueFile(File file,
boolean loop)
Adds a file to the queue of files to play.
|
public FileStream(SoundManager soundmgr, File file, boolean loop) throws IOException
loop - whether or not to play the file in a continuous loop
if there's nothing on the queueIOExceptionpublic void queueFile(File file, boolean loop)
loop - if true, play this file in a loop if there's nothing else
on the queueCopyright © 2015. All rights reserved.