Uses of Class
javax.sound.sampled.LineUnavailableException
Packages that use LineUnavailableException
Package
Description
Provides interfaces and classes for capture, processing, and playback of
sampled audio data.
-
Uses of LineUnavailableException in javax.sound.sampled
Methods in javax.sound.sampled that throw LineUnavailableExceptionModifier and TypeMethodDescriptionstatic ClipAudioSystem.getClip()Obtains a clip that can be used for playing back an audio file or an audio stream.static ClipAudioSystem.getClip(Mixer.Info mixerInfo) Obtains a clip from the specified mixer that can be used for playing back an audio file or an audio stream.static LineObtains a line that matches the description in the specifiedLine.Infoobject.Obtains a line that is available for use and that matches the description in the specifiedLine.Infoobject.static SourceDataLineAudioSystem.getSourceDataLine(AudioFormat format) Obtains a source data line that can be used for playing back audio data in the format specified by theAudioFormatobject.static SourceDataLineAudioSystem.getSourceDataLine(AudioFormat format, Mixer.Info mixerinfo) Obtains a source data line that can be used for playing back audio data in the format specified by theAudioFormatobject, provided by the mixer specified by theMixer.Infoobject.static TargetDataLineAudioSystem.getTargetDataLine(AudioFormat format) Obtains a target data line that can be used for recording audio data in the format specified by theAudioFormatobject.static TargetDataLineAudioSystem.getTargetDataLine(AudioFormat format, Mixer.Info mixerinfo) Obtains a target data line that can be used for recording audio data in the format specified by theAudioFormatobject, provided by the mixer specified by theMixer.Infoobject.voidClip.open(AudioFormat format, byte[] data, int offset, int bufferSize) Opens the clip, meaning that it should acquire any required system resources and become operational.voidClip.open(AudioInputStream stream) Opens the clip with the format and audio data present in the provided audio input stream.voidLine.open()Opens the line, indicating that it should acquire any required system resources and become operational.voidSourceDataLine.open(AudioFormat format) Opens the line with the specified format, causing the line to acquire any required system resources and become operational.voidSourceDataLine.open(AudioFormat format, int bufferSize) Opens the line with the specified format and suggested buffer size, causing the line to acquire any required system resources and become operational.voidTargetDataLine.open(AudioFormat format) Opens the line with the specified format, causing the line to acquire any required system resources and become operational.voidTargetDataLine.open(AudioFormat format, int bufferSize) Opens the line with the specified format and requested buffer size, causing the line to acquire any required system resources and become operational.