public class FlacNativeFile extends FlacFile
info, otherMetadata, tags| Constructor and Description |
|---|
FlacNativeFile(File f)
Opens the given file for reading
|
FlacNativeFile(InputStream inp)
Opens the given FLAC file
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
In Reading mode, will close the underlying ogg/flac
file and free its resources.
|
FlacAudioFrame |
getNextAudioPacket() |
void |
skipToGranule(long granulePosition)
Skips the audio data to the next packet with a granule
of at least the given granule position.
|
public FlacNativeFile(File f) throws IOException, FileNotFoundException
IOExceptionFileNotFoundExceptionpublic FlacNativeFile(InputStream inp) throws IOException
IOExceptionpublic FlacAudioFrame getNextAudioPacket() throws IOException
getNextAudioPacket in class FlacFileIOExceptionpublic void skipToGranule(long granulePosition)
throws IOException
skipToGranule in class FlacFileIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FlacFileIOExceptionCopyright © 2021. All rights reserved.