public class FFAudioFileFormat extends AudioFileFormat
AudioFileFormat, instantiated from native code in
FFAudioFileReader.c.AudioFileFormat.Type| Constructor and Description |
|---|
FFAudioFileFormat(String url,
int codecId,
float sampleRate,
int sampleSize,
int channels,
int frameSize,
float frameRate,
int frameLength,
boolean bigEndian,
long durationInMicroSeconds,
int bitRate,
Boolean vbr,
boolean encrypted)
Creates a new
FFAudioFileFormat. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(String s) |
Map<String,Object> |
properties() |
getByteLength, getFormat, getFrameLength, getType, toStringpublic FFAudioFileFormat(String url, int codecId, float sampleRate, int sampleSize, int channels, int frameSize, float frameRate, int frameLength, boolean bigEndian, long durationInMicroSeconds, int bitRate, Boolean vbr, boolean encrypted) throws UnsupportedAudioFileException
FFAudioFileFormat. Called from native code in FFAudioFileReader.c.url - URL string of the audio source, or nullcodecId - 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_SPECIFIEDframeLength - total frame count, or AudioSystem.NOT_SPECIFIEDbigEndian - true if samples are big-endiandurationInMicroSeconds - duration in microseconds, or 0 if unknownbitRate - 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-protectedUnsupportedAudioFileException - if the URL extension is not recognisedpublic Map<String,Object> properties()
properties in class AudioFileFormatpublic Object getProperty(String s)
getProperty in class AudioFileFormatCopyright © 2013–2026 Jalulo UG (haftungsbeschränkt). All rights reserved.