Commit graph

23 commits

Author SHA1 Message Date
Umar Getagazov be3e29d3c7 Fix return types for seek and tell callbacks
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-01-28 20:54:25 +03:00
DataHoarder 6e490998d2
Expose flac Version/Vendor string
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-15 19:22:02 +02:00
DataHoarder 3057bde44c
Implement read callbacks for encoder
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-17 20:18:02 +02:00
DataHoarder 75c5c45579
Added Ogg encoding to alternate API methods
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-17 20:04:34 +02:00
DataHoarder f88fdcb740
Added support for Ogg encoding
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-17 20:02:27 +02:00
DataHoarder 2fd5e32855 Added support for Ogg decoding
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-05 10:34:19 +01:00
DataHoarder 4a6d617742 API change: add WriteCloser encoder api, add streamable, compression level, block size parameters
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-23 16:27:28 +01:00
Will Newton 50ea06ed5a libflac.go: Don't close the writer in Encoder Close()
We didn't open the writer so I guess we shouldn't close it either.
2017-02-10 14:29:07 +00:00
Will Newton 802043c03f libflac.go: Avoid leaking decoder object 2017-02-09 11:13:11 +00:00
Will Newton 705699fe4b Update copyrights 2016-08-12 09:20:15 +01:00
Charlie Turner d80dbc5aae libflac.go: don't pass mutexes by value. 2016-06-23 12:30:36 +01:00
Will Newton 8a4f0c04fe libflac.go: Fix data race in ptr map 2016-05-20 09:19:59 +01:00
Will Newton 49d771bab6 libflac.go: gosimple fixes 2016-05-19 17:48:09 +01:00
Will Newton d8532c08b4 libflac.go: Delete ptr from map before setting to nil 2016-02-22 16:57:36 +00:00
Mark Pitchless 6225341041 Pointer map for callbacks, make go1.6 happy
Go 1.6 does not allow us to pass go pointers into C that will be stored and¬
used in callbacks and suggests we use a value lookup for pointer callbacks.¬
https://github.com/golang/proposal/blob/master/design/12416-cgo-pointers.md¬

Fixes 'panic: runtime error: cgo argument has Go pointer to Go' in tests.
2016-02-09 17:23:55 +00:00
Will Newton 876bdde887 libflac: Add seek and tell callbacks to encoder
This allows the encoder to update the STREAMINFO correctly.
2015-05-13 14:35:41 +01:00
Will Newton 1f685aa3b0 libflac: Remove duplicate typedefs 2015-05-12 16:54:10 +01:00
Will Newton b583070538 libflac: Add support for Reader and Writer I/O
Add support for encoding to a Writer and decoding from a Reader object.
2015-05-12 16:53:27 +01:00
Will Newton 30fb318340 libflac.go: Improve encoder error handling 2015-03-27 13:10:14 +00:00
Will Newton 886ef90d5e libflac.go: Use pkg-config to find libs 2015-03-13 12:54:07 +00:00
Will Newton 50e66064d3 Run gofmt 2015-03-12 14:17:52 +00:00
Will Newton 3cab89e91d Fix handling of stereo data
Stereo data was being incorrectly copied to the frame buffer. Fix
that and at the same time move the whole copy loop to C which should
hopefully improve performance.
2015-03-09 11:09:49 +00:00
Will Newton 32bd283d4c Initial commit 2015-03-05 11:09:17 +00:00