|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.monte.media.FormatKeys
org.monte.media.AudioFormatKeys
public class AudioFormatKeys
Defines common format keys for audio media.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.monte.media.FormatKeys |
|---|
FormatKeys.MediaType |
| Field Summary | |
|---|---|
static FormatKey<java.nio.ByteOrder> |
ByteOrderKey
The compressor name. |
static FormatKey<java.lang.Integer> |
ChannelsKey
The numer of ChannelsKey. |
static java.lang.String |
ENCODING_ALAW
Specifies a-law encoded data. |
static java.lang.String |
ENCODING_AVI_PCM
AVI PCM encoding. |
static java.lang.String |
ENCODING_MP3
Specifies MP3 encoded data. |
static java.lang.String |
ENCODING_PCM_SIGNED
Specifies SignedKey, linear PCM data. |
static java.lang.String |
ENCODING_PCM_UNSIGNED
Specifies unsigned, linear PCM data. |
static java.lang.String |
ENCODING_QUICKTIME_IN24_PCM
QuickTime 24-bit big endian signed PCM encoding. |
static java.lang.String |
ENCODING_QUICKTIME_IN32_PCM
QuickTime 32-bit big endian signed PCM encoding. |
static java.lang.String |
ENCODING_QUICKTIME_RAW_PCM
QuickTime 8-bit unsigned PCM encoding. |
static java.lang.String |
ENCODING_QUICKTIME_SOWT_PCM
QuickTime 16-bit little endian signed PCM encoding. |
static java.lang.String |
ENCODING_QUICKTIME_TWOS_PCM
QuickTime 16-bit big endian signed PCM encoding. |
static java.lang.String |
ENCODING_ULAW
Specifies u-law encoded data. |
static FormatKey<java.lang.Integer> |
FrameSizeKey
The size of a frame. |
static FormatKey<Rational> |
SampleRateKey
The number of frames per second. |
static FormatKey<java.lang.Integer> |
SampleSizeInBitsKey
The sample size in bits. |
static FormatKey<java.lang.Boolean> |
SignedKey
Whether values are SignedKey. |
| Fields inherited from class org.monte.media.FormatKeys |
|---|
EncodingKey, FrameRateKey, KeyFrameIntervalKey, MediaTypeKey, MIME_ANIM, MIME_AVI, MIME_IMAGE_SEQUENCE, MIME_JAVA, MIME_MP4, MIME_QUICKTIME, MimeTypeKey |
| Constructor Summary | |
|---|---|
AudioFormatKeys()
|
|
| Method Summary | |
|---|---|
static Format |
fromAudioFormat(javax.sound.sampled.AudioFormat fmt)
|
static javax.sound.sampled.AudioFormat |
toAudioFormat(Format fmt)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ENCODING_PCM_SIGNED
public static final java.lang.String ENCODING_PCM_UNSIGNED
public static final java.lang.String ENCODING_ULAW
public static final java.lang.String ENCODING_ALAW
public static final java.lang.String ENCODING_AVI_PCM
public static final java.lang.String ENCODING_QUICKTIME_TWOS_PCM
public static final java.lang.String ENCODING_QUICKTIME_SOWT_PCM
public static final java.lang.String ENCODING_QUICKTIME_IN24_PCM
public static final java.lang.String ENCODING_QUICKTIME_IN32_PCM
public static final java.lang.String ENCODING_QUICKTIME_RAW_PCM
public static final java.lang.String ENCODING_MP3
public static final FormatKey<java.lang.Integer> SampleSizeInBitsKey
public static final FormatKey<java.lang.Integer> ChannelsKey
public static final FormatKey<java.lang.Integer> FrameSizeKey
public static final FormatKey<java.nio.ByteOrder> ByteOrderKey
public static final FormatKey<Rational> SampleRateKey
public static final FormatKey<java.lang.Boolean> SignedKey
| Constructor Detail |
|---|
public AudioFormatKeys()
| Method Detail |
|---|
public static Format fromAudioFormat(javax.sound.sampled.AudioFormat fmt)
public static javax.sound.sampled.AudioFormat toAudioFormat(Format fmt)
|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||