Categorygithub.com/threez/flac
repositorypackage
1.0.1
Repository: https://github.com/threez/flac.git
Documentation: pkg.go.dev

# README

flac GoDoc

Package flac implements a simple command line based flac encoder and decoder pipeline.

Encoding (without err handling):

source, _ := os.Open("test.wav")
r, _ := NewEncoder(source)
encoded, _ := ioutil.ReadAll(r)

Decoding (without err handling):

source, _ := os.Open("test.flac")
r, _ := NewDecoder(source)
decoded, _ := ioutil.ReadAll(r)