module File:sig
..end
Encode to a local file
Convenience module to encode to a local native FLAC file.
type
file
Generic variant type for file encoder
type
handle = {
|
fd : |
|
enc : |
|
callbacks : |
Handle for file encoder
val create_from_fd : ?comments:Flac.Encoder.comments ->
Flac.Encoder.params -> Unix.file_descr -> handle
Create a file encoder writing data to a given Unix file descriptor.
Note: this encoder requires seeking thus will only work on seekable file descriptor.
val create : ?comments:Flac.Encoder.comments ->
Flac.Encoder.params -> string -> handle
Create a file encoder writing data to the given file URI