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
IOException
FileNotFoundException
public FlacNativeFile(InputStream inp) throws IOException
IOException
public FlacAudioFrame getNextAudioPacket() throws IOException
getNextAudioPacket
in class FlacFile
IOException
public void skipToGranule(long granulePosition) throws IOException
skipToGranule
in class FlacFile
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FlacFile
IOException
Copyright © 2015. All rights reserved.