public class JMFAudioPlayer extends Object implements AudioPlayer
Modifier and Type | Field and Description |
---|---|
protected Player |
player |
static Time |
zeroTime |
Constructor and Description |
---|
JMFAudioPlayer()
Creates new JMFAudioPlayer
|
public boolean setDataSource(Object source) throws Exception
setDataSource
in interface AudioPlayer
Exception
public void realize(String fileName, MediaBag mediaBag) throws Exception
realize
in interface AudioPlayer
Exception
public void close()
close
in interface AudioPlayer
public void play()
play
in interface AudioPlayer
public void stop()
stop
in interface AudioPlayer
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.