javazoom.jl.player
Class JavaSoundAudioDeviceFactory
java.lang.Object
|
+--javazoom.jl.player.AudioDeviceFactory
|
+--javazoom.jl.player.JavaSoundAudioDeviceFactory
- public class JavaSoundAudioDeviceFactory
- extends AudioDeviceFactory
This class is responsible for creating instances of the
JavaSoundAudioDevice. The audio device implementation is loaded
and tested dynamically as not all systems will have support
for JavaSound, or they may have the incorrect version.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaSoundAudioDeviceFactory
public JavaSoundAudioDeviceFactory()
createAudioDevice
public AudioDevice createAudioDevice()
throws JavaLayerException
- Description copied from class:
AudioDeviceFactory
- Creates a new
AudioDevice
.
- Overrides:
createAudioDevice
in class AudioDeviceFactory
- Following copied from class:
javazoom.jl.player.AudioDeviceFactory
- Returns:
- a new instance of a specific class of
AudioDevice
. - Throws:
JavaLayerException
- if an instance of AudioDevice could not
be created.
createAudioDeviceImpl
protected JavaSoundAudioDevice createAudioDeviceImpl()
throws JavaLayerException
testAudioDevice
public void testAudioDevice()
throws JavaLayerException
JavaZOOM 1999-2002