Documentation ¶
Overview ¶
Package rsf (Royal Straight fLaC) implements access to FLAC files.
Index ¶
Constants ¶
View Source
const FlacSignature = "fLaC"
FlacSignature is present at the beginning of each FLAC file.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stream ¶
A Stream is a FLAC bitstream.
func NewStream ¶
func NewStream(r io.ReadSeeker) (s *Stream, err error)
NewStream reads from the provided io.Reader and returns the parsed FLAC bitstream.
The basic structure of a FLAC stream is:
- The four byte string "fLaC".
- The StreamInfo metadata block.
- Zero or more other metadata blocks.
- One or more audio frames.
Click to show internal directories.
Click to hide internal directories.