Commit graph

41 commits

Author SHA1 Message Date
DataHoarder b55589f8c1
Bump to 1.18 release, add 1.17 and 1.19 tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-28 23:58:10 +01:00
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 827e6c3f72 Add fork details to README.md
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-23 16:29:21 +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
DataHoarder 104c7240cc Replace Travis with Drone CI
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-23 16:04:17 +01:00
DataHoarder 2cb8ba7ff5 Added go.mod 2022-02-23 16:03:51 +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 f31acf7810 Update copyright 2016-08-12 09:50:51 +01: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 f9644329f9 .travis.yml: Switch to Go 1.6 2016-03-21 12:20:37 +00:00
Will Newton d8532c08b4 libflac.go: Delete ptr from map before setting to nil 2016-02-22 16:57:36 +00:00
Will Newton 7c4fa1434a Use cocoonlife/testify 2016-02-18 17:17:58 +00:00
Will Newton 46168a203a Merge pull request #1 from cocoonlife/mda-go1.6
go1.6 safe pointer use
2016-02-10 10:08:26 +00:00
Mark Pitchless 73e96798a9 Merge branch 'master' into mda-go1.6 2016-02-09 17:53:49 +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 697c619935 .travis.yml: Back to coveralls 2015-12-18 17:50:01 +00:00
Will Newton f5739f2d46 .travis.yml: Add codecov.io support 2015-12-17 16:10:33 +00:00
Will Newton 676942f634 README.md: Add badges 2015-12-15 11:31:43 +00:00
Will Newton 65546507dd .travis.yml: Add coveralls support 2015-12-15 11:20:31 +00:00
Will Newton 3ec38b4e05 .travis.yml: Add travis integration 2015-12-15 11:11:23 +00:00
Will Newton f3b772e34d Rename cfuncs.go to callbacks.c
This fixes a bunch of warnings when building with Go 1.5.
2015-10-15 17:53:51 +01: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 e6387372fe Rename data to testdata 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
John Berthels 65ef819a46 add test for nil encoder if we can't create the file, check err (not nil) on failed decoder open 2015-04-28 18:57:56 +01:00
Will Newton 30fb318340 libflac.go: Improve encoder error handling 2015-03-27 13:10:14 +00:00
Will Newton a411f77706 libflac_test.go: Remove md5sum from roundtrip tests
On-disk format can change with libFLAC versions so md5summing it
is not safe.
2015-03-13 12:54:32 +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