org.tritonus.share.sampled
Class TAudioFormat
java.lang.Object
javax.sound.sampled.AudioFormat
org.tritonus.share.sampled.TAudioFormat
public class TAudioFormat
- extends AudioFormat
|
Constructor Summary |
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)
|
TAudioFormat
public TAudioFormat(AudioFormat.Encoding encoding,
float sampleRate,
int sampleSizeInBits,
int channels,
int frameSize,
float frameRate,
boolean bigEndian,
Map<String,Object> properties)
TAudioFormat
public TAudioFormat(AudioFormat format)
- Create an instance of TAudioFormat as a copy of the supplied audio
format.
- Parameters:
format - the instance to copy
TAudioFormat
public 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. Duplicate properties in the supplied
properties will overwrite the ones in format.
- Parameters:
format - the instance to copyproperties - properties to be added to this TAudioFormat
TAudioFormat
public TAudioFormat(float sampleRate,
int sampleSizeInBits,
int channels,
boolean signed,
boolean bigEndian,
Map<String,Object> properties)
properties
public Map<String,Object> properties()
- Overrides:
properties in class AudioFormat
getProperty
public Object getProperty(String key)
- Overrides:
getProperty in class AudioFormat
setProperty
protected void setProperty(String key,
Object value)
- Overrides:
setProperty in class AudioFormat
Copyright © 2012. All Rights Reserved.