| java.lang.Object sun.audio.AudioDevice
AudioDevice | public class AudioDevice (Code) | | This class provides an interface to a Sun audio device.
This class emulates systems with multiple audio channels, mixing
multiple streams for the workstation's single-channel device.
See Also: AudioData See Also: AudioDataStream See Also: AudioStream See Also: AudioStreamSequence See Also: ContinuousAudioDataStream author: Arthur van Hoff, Thomas Ball version: 1.16, 08/19/02 |
device | final public static AudioDevice device(Code) | | The default audio player. This audio player is initialized
automatically.
|
close | public synchronized void close()(Code) | | Close the device (done automatically)
|
closeChannel | public synchronized void closeChannel(InputStream in)(Code) | | Close an audio channel.
|
closeStreams | public synchronized void closeStreams()(Code) | | Close streams
|
open | public synchronized void open()(Code) | | Open the device (done automatically)
|
openChannel | public synchronized void openChannel(InputStream in)(Code) | | Open an audio channel.
|
openChannels | public int openChannels()(Code) | | Number of channels currently open.
|
play | public void play()(Code) | | Play open audio stream(s)
|
|
|