openFLACStream
public void openFLACStream()
throws java.io.IOException
Begin a new FLAC stream. Prior to calling this, you must have already
set the StreamConfiguration and the output stream, both of which must not
change until encoding is finished and the stream is closed. If this
FLACEncoder object has already been used to encode a stream, unencoded
samples may still be stored. Use clear() to dump them prior to calling
this method(if clear() not called, and samples are instead retained, the
StreamConfiguration must NOT have changed from the prior stream.
- Throws:
java.io.IOException
- if there is an error writing the headers to output.