public class FFAudioFormat extends AudioFormat
AudioFormat adding a PROVIDER property and a special constructor
to be called from FFAudioFileFormat.| Modifier and Type | Class and Description |
|---|---|
static class |
FFAudioFormat.FFEncoding
libavcodec encodings that are aware of their AVCodecID.
|
AudioFormat.Encoding| Modifier and Type | Field and Description |
|---|---|
static String |
FFSAMPLEDSP
Special property value for
PROVIDER, marking FFSampledSP audio formats. |
static String |
PROVIDER
Property key to mark where this
AudioFormat came from. |
bigEndian, channels, encoding, frameRate, frameSize, sampleRate, sampleSizeInBits| Constructor and Description |
|---|
FFAudioFormat(int codecId,
float sampleRate,
int sampleSize,
int channels,
int frameSize,
float frameRate,
boolean bigEndian,
int bitRate,
Boolean vbr,
boolean encrypted)
Creates a new
FFAudioFormat from the given codec and format parameters. |
getChannels, getEncoding, getFrameRate, getFrameSize, getProperty, getSampleRate, getSampleSizeInBits, isBigEndian, matches, properties, toStringpublic static final String PROVIDER
AudioFormat came from.FFSAMPLEDSP,
Constant Field Valuespublic static final String FFSAMPLEDSP
PROVIDER, marking FFSampledSP audio formats. This allows us
to take some shortcuts.PROVIDER,
FFCodecInputStream,
Constant Field Valuespublic FFAudioFormat(int codecId,
float sampleRate,
int sampleSize,
int channels,
int frameSize,
float frameRate,
boolean bigEndian,
int bitRate,
Boolean vbr,
boolean encrypted)
FFAudioFormat from the given codec and format parameters.codecId - FFmpeg AVCodecID valuesampleRate - sample rate in HzsampleSize - bits per sample, or AudioSystem.NOT_SPECIFIEDchannels - channel count, or AudioSystem.NOT_SPECIFIEDframeSize - frame size in bytes, or AudioSystem.NOT_SPECIFIEDframeRate - frame rate in frames per second, or AudioSystem.NOT_SPECIFIEDbigEndian - true if samples are big-endianbitRate - bit rate in bits per second, or 0 if unknownvbr - true if variable bit rate, false if CBR, or null if unknownencrypted - true if the stream is DRM-protectedCopyright © 2013–2026 Jalulo UG (haftungsbeschränkt). All rights reserved.