public class FLACStreamController extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUG_LEV |
| Constructor and Description |
|---|
FLACStreamController(FLACOutputStream fos,
StreamConfiguration sc) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeFLACStream(byte[] md5Hash,
StreamConfiguration streamConfig)
Close the current FLAC stream.
|
FLACOutputStream |
getFLACOutputStream() |
long |
incrementFrameNumber() |
void |
openFLACStream()
Begin a new FLAC stream.
|
void |
setFLACOutputStream(FLACOutputStream fos) |
void |
writeBlock(BlockEncodeRequest ber) |
public FLACStreamController(FLACOutputStream fos, StreamConfiguration sc)
public void setFLACOutputStream(FLACOutputStream fos)
public FLACOutputStream getFLACOutputStream()
public void closeFLACStream(byte[] md5Hash,
StreamConfiguration streamConfig)
throws IOException
IOExceptionpublic long incrementFrameNumber()
public void openFLACStream()
throws IOException
IOException - if there is an error writing the headers to output.public void writeBlock(BlockEncodeRequest ber) throws IOException
IOExceptionCopyright © 2017. All rights reserved.