Logo Search packages:      
Sourcecode: libjlayer-java version File versions  Download package

javazoom::jl::player::AudioDeviceBase Class Reference

Inheritance diagram for javazoom::jl::player::AudioDeviceBase:

javazoom::jl::player::AudioDevice javazoom::jl::player::JavaSoundAudioDevice javazoom::jl::player::NullAudioDevice

List of all members.

Detailed Description

The AudioDeviceBase class provides a simple thread-safe implementation of the AudioDevice interface. Template methods are provided for subclasses to override and in doing so provide the implementation for the main operations of the AudioDevice interface.

Mat McGowan

Definition at line 43 of file AudioDeviceBase.java.

Public Member Functions

synchronized void close ()
void flush ()
int getPosition ()
synchronized boolean isOpen ()
synchronized void open (Decoder decoder) throws JavaLayerException
void write (short[] samples, int offs, int len) throws JavaLayerException

Protected Member Functions

void closeImpl ()
void flushImpl ()
Decoder getDecoder ()
void openImpl () throws JavaLayerException
void setOpen (boolean open)
void writeImpl (short[] samples, int offs, int len) throws JavaLayerException

Private Attributes

Decoder decoder = null
boolean open = false

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index