|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javazoom.jl.player.AudioDeviceFactory javazoom.jl.player.JavaSoundAudioDeviceFactory
public class 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 | |
---|---|
JavaSoundAudioDeviceFactory()
|
Method Summary | |
---|---|
AudioDevice |
createAudioDevice()
Creates a new AudioDevice . |
protected JavaSoundAudioDevice |
createAudioDeviceImpl()
|
void |
testAudioDevice()
|
Methods inherited from class javazoom.jl.player.AudioDeviceFactory |
---|
instantiate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaSoundAudioDeviceFactory()
Method Detail |
---|
public AudioDevice createAudioDevice() throws JavaLayerException
AudioDeviceFactory
AudioDevice
.
createAudioDevice
in class AudioDeviceFactory
AudioDevice
.
JavaLayerException
- if an instance of AudioDevice could not
be created.protected JavaSoundAudioDevice createAudioDeviceImpl() throws JavaLayerException
JavaLayerException
public void testAudioDevice() throws JavaLayerException
JavaLayerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |