https://github.com/threez/flac
Package flac implements a simple command line based flac encoder and decoder pipeline
https://github.com/threez/flac
Last synced: over 1 year ago
JSON representation
Package flac implements a simple command line based flac encoder and decoder pipeline
- Host: GitHub
- URL: https://github.com/threez/flac
- Owner: threez
- License: bsd-2-clause
- Created: 2018-05-05T06:44:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-11T18:12:01.000Z (about 8 years ago)
- Last Synced: 2025-02-07T08:12:26.052Z (over 1 year ago)
- Language: Go
- Size: 201 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flac [](https://godoc.org/github.com/threez/flac)
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)