javax.sound.sampled
34 classes of the module java.desktop.
Load them with:
using {
"javax.sound.sampled"
}
AudioFileFormat#
class · extends Object · javax.sound.sampled.AudioFileFormat
Constructors
new AudioFileFormat(Type type, AudioFormat format, int frameLength) |
new AudioFileFormat(Type type, AudioFormat format, int frameLength, Map properties) |
Ring: new AudioFileFormat(args) uses the constructor with the fewest parameters (at least one); new AudioFileFormat makes the object with the constructor without parameters; the others: (new AudioFileFormat).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getByteLength | getByteLength() | int getByteLength() |
getFormat | getFormat() | AudioFormat getFormat() |
getFrameLength | getFrameLength() | int getFrameLength() |
getProperty | getProperty(key) | Object getProperty(String key) |
getType | getType() | Type getType() |
properties | properties() | Map properties() |
The methods and fields of Object are inherited.
AudioFileFormatType#
class · extends Object · javax.sound.sampled.AudioFileFormat$Type
Constructors
new AudioFileFormatType(String name, String extension) |
Ring: new AudioFileFormatType(args) uses the constructor with the fewest parameters (at least one); new AudioFileFormatType makes the object with the constructor without parameters; the others: (new AudioFileFormatType).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
WAVE | Type | constant · static | o.WAVE |
AU | Type | constant · static | o.AU |
AIFF | Type | constant · static | o.AIFF |
AIFC | Type | constant · static | o.AIFC |
SND | Type | constant · static | o.SND |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getExtension | getExtension() | String getExtension() |
The methods and fields of Object are inherited.
AudioFormat#
class · extends Object · javax.sound.sampled.AudioFormat
Constructors
new AudioFormat(float sampleRate, int sampleSizeInBits, int channels, boolean signed, boolean bigEndian) |
new AudioFormat(Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian) |
new AudioFormat(Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian, Map properties) |
Ring: new AudioFormat(args) uses the constructor with the fewest parameters (at least one); new AudioFormat makes the object with the constructor without parameters; the others: (new AudioFormat).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getChannels | getChannels() | int getChannels() |
getEncoding | getEncoding() | Encoding getEncoding() |
getFrameRate | getFrameRate() | float getFrameRate() |
getFrameSize | getFrameSize() | int getFrameSize() |
getProperty | getProperty(key) | Object getProperty(String key) |
getSampleRate | getSampleRate() | float getSampleRate() |
getSampleSizeInBits | getSampleSizeInBits() | int getSampleSizeInBits() |
isBigEndian | isBigEndian() | boolean isBigEndian() |
matches | matches(format) | boolean matches(AudioFormat format) |
properties | properties() | Map properties() |
The methods and fields of Object are inherited.
AudioFormatEncoding#
class · extends Object · javax.sound.sampled.AudioFormat$Encoding
Constructors
new AudioFormatEncoding(String name) |
Ring: new AudioFormatEncoding(args) uses the constructor with the fewest parameters (at least one); new AudioFormatEncoding makes the object with the constructor without parameters; the others: (new AudioFormatEncoding).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PCM_SIGNED | Encoding | constant · static | o.PCM_SIGNED |
PCM_UNSIGNED | Encoding | constant · static | o.PCM_UNSIGNED |
PCM_FLOAT | Encoding | constant · static | o.PCM_FLOAT |
ULAW | Encoding | constant · static | o.ULAW |
ALAW | Encoding | constant · static | o.ALAW |
The methods and fields of Object are inherited.
AudioInputStream#
class · extends InputStream · javax.sound.sampled.AudioInputStream
Constructors
new AudioInputStream(TargetDataLine line) |
new AudioInputStream(InputStream stream, AudioFormat format, long length) |
Ring: new AudioInputStream(args) uses the constructor with the fewest parameters (at least one); new AudioInputStream makes the object with the constructor without parameters; the others: (new AudioInputStream).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getFormat | getFormat() | AudioFormat getFormat() |
getFrameLength | getFrameLength() | long getFrameLength() |
The methods and fields of InputStream are inherited.
AudioPermission#
class · extends BasicPermission · javax.sound.sampled.AudioPermission
Constructors
new AudioPermission(String name) |
new AudioPermission(String name, String actions) |
Ring: new AudioPermission(args) uses the constructor with the fewest parameters (at least one); new AudioPermission makes the object with the constructor without parameters; the others: (new AudioPermission).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of BasicPermission are inherited.
AudioSystem#
class · extends Object · javax.sound.sampled.AudioSystem
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NOT_SPECIFIED | int | constant · static | o.NOT_SPECIFIED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getAudioFileTypes | @getAudioFileTypes(stream) | static Type[] getAudioFileTypes(AudioInputStream stream) |
@getClip | @getClip(mixerInfo) | static Clip getClip(Info mixerInfo) |
getAudioFileFormat | getAudioFileFormat(stream) | static AudioFileFormat getAudioFileFormat(InputStream stream)static AudioFileFormat getAudioFileFormat(URL url)static AudioFileFormat getAudioFileFormat(File file) |
getAudioFileTypes | getAudioFileTypes() | static Type[] getAudioFileTypes() |
getAudioInputStream | getAudioInputStream(url)getAudioInputStream([targetFormat,sourceStream])getAudioInputStream([ :targetFormat = v, :sourceStream = v ]) | static AudioInputStream getAudioInputStream(URL url)static AudioInputStream getAudioInputStream(File file)static AudioInputStream getAudioInputStream(InputStream stream)static AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream)static AudioInputStream getAudioInputStream(Encoding targetEncoding, AudioInputStream sourceStream) |
getClip | getClip() | static Clip getClip() |
getLine | getLine(info) | static Line getLine(Info info) |
getMixer | getMixer(info) | static Mixer getMixer(Info info) |
getMixerInfo | getMixerInfo() | static Info[] getMixerInfo() |
getSourceDataLine | getSourceDataLine(format)getSourceDataLine([format,mixerinfo])getSourceDataLine([ :format = v, :mixerinfo = v ]) | static SourceDataLine getSourceDataLine(AudioFormat format)static SourceDataLine getSourceDataLine(AudioFormat format, Info mixerinfo) |
getSourceLineInfo | getSourceLineInfo(info) | static Info[] getSourceLineInfo(Info info) |
getTargetDataLine | getTargetDataLine(format)getTargetDataLine([format,mixerinfo])getTargetDataLine([ :format = v, :mixerinfo = v ]) | static TargetDataLine getTargetDataLine(AudioFormat format)static TargetDataLine getTargetDataLine(AudioFormat format, Info mixerinfo) |
getTargetEncodings | getTargetEncodings(sourceEncoding) | static Encoding[] getTargetEncodings(Encoding sourceEncoding)static Encoding[] getTargetEncodings(AudioFormat sourceFormat) |
getTargetFormats | getTargetFormats(targetEncoding,sourceFormat) | static AudioFormat[] getTargetFormats(Encoding targetEncoding, AudioFormat sourceFormat) |
getTargetLineInfo | getTargetLineInfo(info) | static Info[] getTargetLineInfo(Info info) |
isConversionSupported | isConversionSupported(targetFormat,sourceFormat) | static boolean isConversionSupported(AudioFormat targetFormat, AudioFormat sourceFormat)static boolean isConversionSupported(Encoding targetEncoding, AudioFormat sourceFormat) |
isFileTypeSupported | isFileTypeSupported(fileType)isFileTypeSupported([fileType,stream])isFileTypeSupported([ :fileType = v, :stream = v ]) | static boolean isFileTypeSupported(Type fileType)static boolean isFileTypeSupported(Type fileType, AudioInputStream stream) |
isLineSupported | isLineSupported(info) | static boolean isLineSupported(Info info) |
write | write(stream,fileType,out) | static int write(AudioInputStream stream, Type fileType, OutputStream out)static int write(AudioInputStream stream, Type fileType, File out) |
The methods and fields of Object are inherited.
BooleanControl#
abstract · extends Control · javax.sound.sampled.BooleanControl
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getStateLabel | getStateLabel(state) | String getStateLabel(boolean state) |
getValue | getValue() | boolean getValue() |
setValue | setValue(value) | void setValue(boolean value) |
The methods and fields of Control are inherited.
BooleanControlType#
class · extends ControlType · javax.sound.sampled.BooleanControl$Type
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MUTE | Type | constant · static | o.MUTE |
APPLY_REVERB | Type | constant · static | o.APPLY_REVERB |
The methods and fields of ControlType are inherited.
Clip#
interface · javax.sound.sampled.Clip
Extends: DataLine
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
LOOP_CONTINUOUSLY | int | constant · static | o.LOOP_CONTINUOUSLY |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@loop | @loop(count) | void loop(int count) |
@open | @open(stream)@open([format,data,offset,bufferSize])@open([ :format = v, :data = v, :offset = v, :bufferSize = v ]) | void open(AudioInputStream stream)void open(AudioFormat format, byte[] data, int offset, int bufferSize) |
addLineListener | addLineListener(listener) | void addLineListener(LineListener listener) |
available | available() | int available() |
close | close() | void close() |
drain | drain() | void drain() |
flush | flush() | void flush() |
getBufferSize | getBufferSize() | int getBufferSize() |
getControl | getControl(control) | Control getControl(Type control) |
getControls | getControls() | Control[] getControls() |
getFormat | getFormat() | AudioFormat getFormat() |
getFrameLength | getFrameLength() | int getFrameLength() |
getFramePosition | getFramePosition() | int getFramePosition() |
getLevel | getLevel() | float getLevel() |
getLineInfo | getLineInfo() | Info getLineInfo() |
getLongFramePosition | getLongFramePosition() | long getLongFramePosition() |
getMicrosecondLength | getMicrosecondLength() | long getMicrosecondLength() |
getMicrosecondPosition | getMicrosecondPosition() | long getMicrosecondPosition() |
isActive | isActive() | boolean isActive() |
isControlSupported | isControlSupported(control) | boolean isControlSupported(Type control) |
isOpen | isOpen() | boolean isOpen() |
isRunning | isRunning() | boolean isRunning() |
open | open() | void open() |
removeLineListener | removeLineListener(listener) | void removeLineListener(LineListener listener) |
setFramePosition | setFramePosition(frames) | void setFramePosition(int frames) |
setLoopPoints | setLoopPoints(start,end) | void setLoopPoints(int start, int end) |
setMicrosecondPosition | setMicrosecondPosition(microseconds) | void setMicrosecondPosition(long microseconds) |
start | start() | void start() |
stop | stop() | void stop() |
CompoundControl#
abstract · extends Control · javax.sound.sampled.CompoundControl
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMemberControls | getMemberControls() | Control[] getMemberControls() |
The methods and fields of Control are inherited.
CompoundControlType#
class · extends ControlType · javax.sound.sampled.CompoundControl$Type
The methods and fields of ControlType are inherited.
Control#
abstract · extends Object · javax.sound.sampled.Control
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getType | getType() | Type getType() |
The methods and fields of Object are inherited.
ControlType#
class · extends Object · javax.sound.sampled.Control$Type
The methods and fields of Object are inherited.
DataLine#
interface · javax.sound.sampled.DataLine
Extends: Line
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addLineListener | addLineListener(listener) | void addLineListener(LineListener listener) |
available | available() | int available() |
close | close() | void close() |
drain | drain() | void drain() |
flush | flush() | void flush() |
getBufferSize | getBufferSize() | int getBufferSize() |
getControl | getControl(control) | Control getControl(Type control) |
getControls | getControls() | Control[] getControls() |
getFormat | getFormat() | AudioFormat getFormat() |
getFramePosition | getFramePosition() | int getFramePosition() |
getLevel | getLevel() | float getLevel() |
getLineInfo | getLineInfo() | Info getLineInfo() |
getLongFramePosition | getLongFramePosition() | long getLongFramePosition() |
getMicrosecondPosition | getMicrosecondPosition() | long getMicrosecondPosition() |
isActive | isActive() | boolean isActive() |
isControlSupported | isControlSupported(control) | boolean isControlSupported(Type control) |
isOpen | isOpen() | boolean isOpen() |
isRunning | isRunning() | boolean isRunning() |
open | open() | void open() |
removeLineListener | removeLineListener(listener) | void removeLineListener(LineListener listener) |
start | start() | void start() |
stop | stop() | void stop() |
DataLineInfo#
class · extends LineInfo · javax.sound.sampled.DataLine$Info
Constructors
new DataLineInfo(Class lineClass, AudioFormat format) |
new DataLineInfo(Class lineClass, AudioFormat format, int bufferSize) |
new DataLineInfo(Class lineClass, AudioFormat[] formats, int minBufferSize, int maxBufferSize) |
Ring: new DataLineInfo(args) uses the constructor with the fewest parameters (at least one); new DataLineInfo makes the object with the constructor without parameters; the others: (new DataLineInfo).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getFormats | getFormats() | AudioFormat[] getFormats() |
getMaxBufferSize | getMaxBufferSize() | int getMaxBufferSize() |
getMinBufferSize | getMinBufferSize() | int getMinBufferSize() |
isFormatSupported | isFormatSupported(format) | boolean isFormatSupported(AudioFormat format) |
The methods and fields of LineInfo are inherited.
EnumControl#
abstract · extends Control · javax.sound.sampled.EnumControl
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getValue | getValue() | Object getValue() |
getValues | getValues() | Object[] getValues() |
setValue | setValue(value) | void setValue(Object value) |
The methods and fields of Control are inherited.
EnumControlType#
class · extends ControlType · javax.sound.sampled.EnumControl$Type
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
REVERB | Type | constant · static | o.REVERB |
The methods and fields of ControlType are inherited.
FloatControl#
abstract · extends Control · javax.sound.sampled.FloatControl
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMaximum | getMaximum() | float getMaximum() |
getMaxLabel | getMaxLabel() | String getMaxLabel() |
getMidLabel | getMidLabel() | String getMidLabel() |
getMinimum | getMinimum() | float getMinimum() |
getMinLabel | getMinLabel() | String getMinLabel() |
getPrecision | getPrecision() | float getPrecision() |
getUnits | getUnits() | String getUnits() |
getUpdatePeriod | getUpdatePeriod() | int getUpdatePeriod() |
getValue | getValue() | float getValue() |
setValue | setValue(newValue) | void setValue(float newValue) |
shift | shift(from,to,microseconds) | void shift(float from, float to, int microseconds) |
The methods and fields of Control are inherited.
FloatControlType#
class · extends ControlType · javax.sound.sampled.FloatControl$Type
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MASTER_GAIN | Type | constant · static | o.MASTER_GAIN |
AUX_SEND | Type | constant · static | o.AUX_SEND |
AUX_RETURN | Type | constant · static | o.AUX_RETURN |
REVERB_SEND | Type | constant · static | o.REVERB_SEND |
REVERB_RETURN | Type | constant · static | o.REVERB_RETURN |
VOLUME | Type | constant · static | o.VOLUME |
PAN | Type | constant · static | o.PAN |
BALANCE | Type | constant · static | o.BALANCE |
SAMPLE_RATE | Type | constant · static | o.SAMPLE_RATE |
The methods and fields of ControlType are inherited.
Line#
interface · javax.sound.sampled.Line
Extends: AutoCloseable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addLineListener | addLineListener(listener) | void addLineListener(LineListener listener) |
close | close() | void close() |
getControl | getControl(control) | Control getControl(Type control) |
getControls | getControls() | Control[] getControls() |
getLineInfo | getLineInfo() | Info getLineInfo() |
isControlSupported | isControlSupported(control) | boolean isControlSupported(Type control) |
isOpen | isOpen() | boolean isOpen() |
open | open() | void open() |
removeLineListener | removeLineListener(listener) | void removeLineListener(LineListener listener) |
LineEvent#
class · extends EventObject · javax.sound.sampled.LineEvent
Constructors
new LineEvent(Line line, Type type, long position) |
Ring: new LineEvent(args) uses the constructor with the fewest parameters (at least one); new LineEvent makes the object with the constructor without parameters; the others: (new LineEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getFramePosition | getFramePosition() | long getFramePosition() |
getLine | getLine() | Line getLine() |
getType | getType() | Type getType() |
The methods and fields of EventObject are inherited.
LineEventType#
class · extends Object · javax.sound.sampled.LineEvent$Type
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OPEN | Type | constant · static | o.OPEN |
CLOSE | Type | constant · static | o.CLOSE |
START | Type | constant · static | o.START |
STOP | Type | constant · static | o.STOP |
The methods and fields of Object are inherited.
LineInfo#
class · extends Object · javax.sound.sampled.Line$Info
Constructors
new LineInfo(Class lineClass) |
Ring: new LineInfo(args) uses the constructor with the fewest parameters (at least one); new LineInfo makes the object with the constructor without parameters; the others: (new LineInfo).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getLineClass | getLineClass() | Class getLineClass() |
matches | matches(info) | boolean matches(Info info) |
The methods and fields of Object are inherited.
LineListener#
interface · javax.sound.sampled.LineListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
update | update(event) | void update(LineEvent event) |
LineUnavailableException#
class · extends Exception · javax.sound.sampled.LineUnavailableException
Constructors
new LineUnavailableException() |
new LineUnavailableException(String message) |
Ring: new LineUnavailableException(args) uses the constructor with the fewest parameters (at least one); new LineUnavailableException makes the object with the constructor without parameters; the others: (new LineUnavailableException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.
Mixer#
interface · javax.sound.sampled.Mixer
Extends: Line
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getSourceLineInfo | @getSourceLineInfo(info) | Info[] getSourceLineInfo(Info info) |
@getTargetLineInfo | @getTargetLineInfo(info) | Info[] getTargetLineInfo(Info info) |
addLineListener | addLineListener(listener) | void addLineListener(LineListener listener) |
close | close() | void close() |
getControl | getControl(control) | Control getControl(Type control) |
getControls | getControls() | Control[] getControls() |
getLine | getLine(info) | Line getLine(Info info) |
getLineInfo | getLineInfo() | Info getLineInfo() |
getMaxLines | getMaxLines(info) | int getMaxLines(Info info) |
getMixerInfo | getMixerInfo() | Info getMixerInfo() |
getSourceLineInfo | getSourceLineInfo() | Info[] getSourceLineInfo() |
getSourceLines | getSourceLines() | Line[] getSourceLines() |
getTargetLineInfo | getTargetLineInfo() | Info[] getTargetLineInfo() |
getTargetLines | getTargetLines() | Line[] getTargetLines() |
isControlSupported | isControlSupported(control) | boolean isControlSupported(Type control) |
isLineSupported | isLineSupported(info) | boolean isLineSupported(Info info) |
isOpen | isOpen() | boolean isOpen() |
isSynchronizationSupported | isSynchronizationSupported(lines,maintainSync) | boolean isSynchronizationSupported(Line[] lines, boolean maintainSync) |
open | open() | void open() |
removeLineListener | removeLineListener(listener) | void removeLineListener(LineListener listener) |
synchronize | synchronize(lines,maintainSync) | void synchronize(Line[] lines, boolean maintainSync) |
unsynchronize | unsynchronize(lines) | void unsynchronize(Line[] lines) |
MixerInfo#
class · extends Object · javax.sound.sampled.Mixer$Info
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDescription | getDescription() | String getDescription() |
getName | getName() | String getName() |
getVendor | getVendor() | String getVendor() |
getVersion | getVersion() | String getVersion() |
The methods and fields of Object are inherited.
Port#
interface · javax.sound.sampled.Port
Extends: Line
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addLineListener | addLineListener(listener) | void addLineListener(LineListener listener) |
close | close() | void close() |
getControl | getControl(control) | Control getControl(Type control) |
getControls | getControls() | Control[] getControls() |
getLineInfo | getLineInfo() | Info getLineInfo() |
isControlSupported | isControlSupported(control) | boolean isControlSupported(Type control) |
isOpen | isOpen() | boolean isOpen() |
open | open() | void open() |
removeLineListener | removeLineListener(listener) | void removeLineListener(LineListener listener) |
PortInfo#
class · extends LineInfo · javax.sound.sampled.Port$Info
Constructors
new PortInfo(Class lineClass, String name, boolean isSource) |
Ring: new PortInfo(args) uses the constructor with the fewest parameters (at least one); new PortInfo makes the object with the constructor without parameters; the others: (new PortInfo).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MICROPHONE | Info | constant · static | o.MICROPHONE |
LINE_IN | Info | constant · static | o.LINE_IN |
COMPACT_DISC | Info | constant · static | o.COMPACT_DISC |
SPEAKER | Info | constant · static | o.SPEAKER |
HEADPHONE | Info | constant · static | o.HEADPHONE |
LINE_OUT | Info | constant · static | o.LINE_OUT |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getName | getName() | String getName() |
isSource | isSource() | boolean isSource() |
The methods and fields of LineInfo are inherited.
ReverbType#
class · extends Object · javax.sound.sampled.ReverbType
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDecayTime | getDecayTime() | int getDecayTime() |
getEarlyReflectionDelay | getEarlyReflectionDelay() | int getEarlyReflectionDelay() |
getEarlyReflectionIntensity | getEarlyReflectionIntensity() | float getEarlyReflectionIntensity() |
getLateReflectionDelay | getLateReflectionDelay() | int getLateReflectionDelay() |
getLateReflectionIntensity | getLateReflectionIntensity() | float getLateReflectionIntensity() |
getName | getName() | String getName() |
The methods and fields of Object are inherited.
SourceDataLine#
interface · javax.sound.sampled.SourceDataLine
Extends: DataLine
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@open | @open(format)@open([format,bufferSize])@open([ :format = v, :bufferSize = v ]) | void open(AudioFormat format)void open(AudioFormat format, int bufferSize) |
addLineListener | addLineListener(listener) | void addLineListener(LineListener listener) |
available | available() | int available() |
close | close() | void close() |
drain | drain() | void drain() |
flush | flush() | void flush() |
getBufferSize | getBufferSize() | int getBufferSize() |
getControl | getControl(control) | Control getControl(Type control) |
getControls | getControls() | Control[] getControls() |
getFormat | getFormat() | AudioFormat getFormat() |
getFramePosition | getFramePosition() | int getFramePosition() |
getLevel | getLevel() | float getLevel() |
getLineInfo | getLineInfo() | Info getLineInfo() |
getLongFramePosition | getLongFramePosition() | long getLongFramePosition() |
getMicrosecondPosition | getMicrosecondPosition() | long getMicrosecondPosition() |
isActive | isActive() | boolean isActive() |
isControlSupported | isControlSupported(control) | boolean isControlSupported(Type control) |
isOpen | isOpen() | boolean isOpen() |
isRunning | isRunning() | boolean isRunning() |
open | open() | void open() |
removeLineListener | removeLineListener(listener) | void removeLineListener(LineListener listener) |
start | start() | void start() |
stop | stop() | void stop() |
write | write(b,off,len) | int write(byte[] b, int off, int len) |
TargetDataLine#
interface · javax.sound.sampled.TargetDataLine
Extends: DataLine
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@open | @open(format)@open([format,bufferSize])@open([ :format = v, :bufferSize = v ]) | void open(AudioFormat format)void open(AudioFormat format, int bufferSize) |
addLineListener | addLineListener(listener) | void addLineListener(LineListener listener) |
available | available() | int available() |
close | close() | void close() |
drain | drain() | void drain() |
flush | flush() | void flush() |
getBufferSize | getBufferSize() | int getBufferSize() |
getControl | getControl(control) | Control getControl(Type control) |
getControls | getControls() | Control[] getControls() |
getFormat | getFormat() | AudioFormat getFormat() |
getFramePosition | getFramePosition() | int getFramePosition() |
getLevel | getLevel() | float getLevel() |
getLineInfo | getLineInfo() | Info getLineInfo() |
getLongFramePosition | getLongFramePosition() | long getLongFramePosition() |
getMicrosecondPosition | getMicrosecondPosition() | long getMicrosecondPosition() |
isActive | isActive() | boolean isActive() |
isControlSupported | isControlSupported(control) | boolean isControlSupported(Type control) |
isOpen | isOpen() | boolean isOpen() |
isRunning | isRunning() | boolean isRunning() |
open | open() | void open() |
read | read(b,off,len) | int read(byte[] b, int off, int len) |
removeLineListener | removeLineListener(listener) | void removeLineListener(LineListener listener) |
start | start() | void start() |
stop | stop() | void stop() |
UnsupportedAudioFileException#
class · extends Exception · javax.sound.sampled.UnsupportedAudioFileException
Constructors
new UnsupportedAudioFileException() |
new UnsupportedAudioFileException(String message) |
Ring: new UnsupportedAudioFileException(args) uses the constructor with the fewest parameters (at least one); new UnsupportedAudioFileException makes the object with the constructor without parameters; the others: (new UnsupportedAudioFileException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.