public class TAudioFormat extends AudioFormat
AudioFormat.EncodingbigEndian, channels, encoding, frameRate, frameSize, sampleRate, sampleSizeInBits| Constructor and Description |
|---|
TAudioFormat(AudioFormat.Encoding encoding,
float sampleRate,
int sampleSizeInBits,
int channels,
int frameSize,
float frameRate,
boolean bigEndian,
Map<String,Object> properties) |
TAudioFormat(AudioFormat format)
Create an instance of TAudioFormat as a copy of the supplied audio
format.
|
TAudioFormat(AudioFormat format,
Map<String,Object> properties)
Create an instance of TAudioFormat as a copy of the supplied audio
format, adding the given properties to any properties supplied by
format. |
TAudioFormat(float sampleRate,
int sampleSizeInBits,
int channels,
boolean signed,
boolean bigEndian,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(String key) |
Map<String,Object> |
properties() |
protected void |
setProperty(String key,
Object value) |
getChannels, getEncoding, getFrameRate, getFrameSize, getSampleRate, getSampleSizeInBits, isBigEndian, matches, toStringpublic TAudioFormat(AudioFormat.Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian, Map<String,Object> properties)
public TAudioFormat(AudioFormat format)
format - the instance to copypublic TAudioFormat(AudioFormat format, Map<String,Object> properties)
format. Duplicate properties in the supplied
properties will overwrite the ones in format.format - the instance to copyproperties - properties to be added to this TAudioFormatpublic Map<String,Object> properties()
properties in class AudioFormatpublic Object getProperty(String key)
getProperty in class AudioFormatCopyright © 2016. All Rights Reserved.