Package javazoom.jl.player
Class JavaSoundAudioDeviceFactory
java.lang.Object
javazoom.jl.player.AudioDeviceFactory
javazoom.jl.player.JavaSoundAudioDeviceFactory
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.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javazoom.jl.player.AudioDeviceFactory
instantiate
-
Constructor Details
-
JavaSoundAudioDeviceFactory
public JavaSoundAudioDeviceFactory()
-
-
Method Details
-
createAudioDevice
Description copied from class:AudioDeviceFactory
Creates a newAudioDevice
.- Specified by:
createAudioDevice
in classAudioDeviceFactory
- Returns:
- a new instance of a specific class of
AudioDevice
. - Throws:
JavaLayerException
- if an instance of AudioDevice could not be created.
-
createAudioDeviceImpl
- Throws:
JavaLayerException
-
testAudioDevice
- Throws:
JavaLayerException
-