|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.sound.sampled.AudioFormat
com.groovemanager.spi.floatEncoding.FloatAudioFormat
This class provides some easier constructors for AdioFormats using the PCM_FLOAT encoding
| Nested Class Summary | |
|---|---|
static class |
FloatAudioFormat.Encoding
PCM_FLOAT encoding |
| Field Summary | |
|---|---|
(package private) java.util.Map |
properties
The properties Map |
| Fields inherited from class javax.sound.sampled.AudioFormat |
|---|
bigEndian, channels, encoding, frameRate, frameSize, sampleRate, sampleSizeInBits |
| Constructor Summary | |
|---|---|
|
FloatAudioFormat(float sampleRate,
boolean isDouble,
int channels,
boolean bigEndian)
Construct a new FloatAudioFormat |
|
FloatAudioFormat(float sampleRate,
boolean isDouble,
int channels,
boolean bigEndian,
java.util.Map properties)
Construct a new FloatAudioFormat |
private |
FloatAudioFormat(float sampleRate,
int sampleSizeInBits,
int channels,
boolean bigEndian)
Construct a new FloatAudioFormat |
private |
FloatAudioFormat(float sampleRate,
int sampleSizeInBits,
int channels,
boolean bigEndian,
java.util.Map properties)
Construct a new FloatAudioFormat |
| Method Summary | |
|---|---|
java.lang.Object |
getProperty(java.lang.String key)
|
java.util.Map |
properties()
|
| Methods inherited from class javax.sound.sampled.AudioFormat |
|---|
getChannels, getEncoding, getFrameRate, getFrameSize, getSampleRate, getSampleSizeInBits, isBigEndian, matches, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
java.util.Map properties
| Constructor Detail |
|---|
public FloatAudioFormat(float sampleRate,
boolean isDouble,
int channels,
boolean bigEndian)
sampleRate - The sample rate of the format in HzisDouble - true, if the floating point samples are stored in double
precidion (64 Bit), false otherwisechannels - The number of channels of this formatbigEndian - true, if the data is aligned in big endian, false
otherwise
public FloatAudioFormat(float sampleRate,
boolean isDouble,
int channels,
boolean bigEndian,
java.util.Map properties)
sampleRate - The sample rate of the format in HzisDouble - true, if the floating point samples are stored in double
precidion (64 Bit), false otherwisechannels - The number of channels of this formatbigEndian - true, if the data is aligned in big endian, false
otherwiseproperties - Map of properties assigned to this AudioFormat
private FloatAudioFormat(float sampleRate,
int sampleSizeInBits,
int channels,
boolean bigEndian)
sampleRate - The sample rate of the format in HzsampleSizeInBits - The sample size in Bits. Must be either 32 or
64channels - The number of channels of this formatbigEndian - true, if the data is aligned in big endian, false
otherwise
private FloatAudioFormat(float sampleRate,
int sampleSizeInBits,
int channels,
boolean bigEndian,
java.util.Map properties)
sampleRate - The sample rate of the format in HzsampleSizeInBits - The sample size in Bits. Must be either 32 or
64channels - The number of channels of this formatbigEndian - true, if the data is aligned in big endian, false
otherwiseproperties - Map of properties assigned to this AudioFormat| Method Detail |
|---|
public java.lang.Object getProperty(java.lang.String key)
getProperty in class javax.sound.sampled.AudioFormatAudioFormat.getProperty(java.lang.String)public java.util.Map properties()
properties in class javax.sound.sampled.AudioFormatAudioFormat.properties()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||