public class MpegFormatConversionProvider
extends org.tritonus.share.sampled.convert.TEncodingFormatConversionProvider
Constructor and Description |
---|
MpegFormatConversionProvider()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.sound.sampled.AudioInputStream |
getAudioInputStream(javax.sound.sampled.AudioFormat targetFormat,
javax.sound.sampled.AudioInputStream audioInputStream) |
boolean |
isConversionSupported(javax.sound.sampled.AudioFormat targetFormat,
javax.sound.sampled.AudioFormat sourceFormat)
Add conversion support for any MpegEncoding source with FrameRate or FrameSize not empty.
|
getTargetFormats
disable, doMatch, doMatch, getCollectionSourceEncodings, getCollectionSourceFormats, getCollectionTargetEncodings, getCollectionTargetFormats, getFrameSize, getSourceEncodings, getTargetEncodings, getTargetEncodings, isAllowedSourceEncoding, isAllowedSourceFormat, isAllowedTargetEncoding, isAllowedTargetFormat, isSourceEncodingSupported, isTargetEncodingSupported, replaceNotSpecified
public javax.sound.sampled.AudioInputStream getAudioInputStream(javax.sound.sampled.AudioFormat targetFormat, javax.sound.sampled.AudioInputStream audioInputStream)
getAudioInputStream
in class javax.sound.sampled.spi.FormatConversionProvider
public boolean isConversionSupported(javax.sound.sampled.AudioFormat targetFormat, javax.sound.sampled.AudioFormat sourceFormat)
isConversionSupported
in class org.tritonus.share.sampled.convert.TFormatConversionProvider
targetFormat
- sourceFormat
- JavaZOOM 1999-2005