-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Description
Version 1.x
Before move to github.com/ljud. (see #19)
- Remove
flac.Encode(done as of flac: add Encoder API to encode audio samples and metadata blocks #32) - Rename
internal/bitstointernal/bitio. - Copy
icza/bitiotointernal/bitioto reduce external dependencies. - Rename
enc_test.gotoencode_test.goand update to make use ofNewEncoder. - Add encode/decode round-trip test case
Version 2.x
After move to github.com/ljud. (see #19)
- Split flac package into low-level (back-end) and high-level (front-end) packages.
- The low-level package will handle encoding and decoding on the bit-level, not hiding any FLAC details in the API. The low-level package is intended for users who require full control of FLAC streams, e.g. those who want to write highly optimizing FLAC encoders.
- The high-level package is intended for end-users and will provide convenient API for accessing audio samples, along with seek support with
time.Durationand sample number offsets.
- Make
HeaderandSubHeaderofframe.Frameandframe.Subframepointers instead of values? - Rename
frame.SubHeader.WastedtoWastedBits? - Check if we could add a
Decoderanalogous toEncoder, and remove unexported readers fromflac.Stream,frame.Frameandframe.Subframe. - Take the opportunity to reduce repository size? Currently it's at 13 MB.
- Investigate how to update the API to avoid having to duplicating the slice of audio samples for different use cases (ref High bitrate, small devices #34). E.g. playing sound needs samples to be zipped from each channel. Interacting with zc sound.Source requires samples from each channel to be placed after each other; e.g. n samples of the first channel in
samples[0:n]and n samples of the second channel insamples[n:2*n].- The subframe API should probably be updated to accept a slice to read into, rather than allocating it's own slice. Exactly how to do this while catering towards both zipped and unzipped data is not yet determined.
Reactions are currently unavailable