Commit graph

311 commits

Author SHA1 Message Date
mewmew b49238df85 cmd/flac2wav: fix build 2017-06-03 16:16:49 +02:00
Robin Eklind 75b847e4b4 Merge pull request #17 from karlek/license
Add LICENSE file to follow sensible standards
2017-06-02 09:49:03 +02:00
Henry Eklind 368256954b
Add LICENSE file to follow sensible standards 2017-06-02 09:17:02 +02:00
mewmew e0b198eedb flac/meta: Fix build of test cases. 2016-12-16 00:03:05 +01:00
Henry Eklind b05b58d3c0
flac: lint comment 2016-10-17 17:59:41 +02:00
Henry Eklind 57079a7bf9
meta_test: remove erroneous Close 2016-10-17 17:53:02 +02:00
Henry Eklind f65e4706bd
flac: fix placeholder argument return values 2016-10-15 20:30:14 +02:00
Henry Eklind 4a859d4c98
flac: fix nil pointer assignment segmentation fault 2016-10-15 20:29:38 +02:00
mewmew c6cd3f7103 flac: Recalculate isLast for metadata blocks during encoding.
Updates #14.
2016-07-22 03:05:53 +02:00
mewmew f39c041f5f flac: Calculate length of metadata block bodies when encoding.
Updates #14.
2016-07-22 03:01:42 +02:00
Henry Eklind 439376e473
remove metaflac function 2016-07-22 01:22:50 +02:00
Henry Eklind 0dc1119122
denser error handling 2016-07-22 00:56:37 +02:00
mewmew 2ece18bf05 flac: Fix typo in readme. 2016-07-20 15:45:08 +02:00
mewmew 78330e7949 flac: Address comments to commit 306014a. Add license notice for missing-value.flac.
A clean solution to [1] is yet to be located.

[1]: 306014abef (commitcomment-18312389)
2016-07-20 15:40:33 +02:00
Henry Eklind 54d90790d7
gofmt 2016-07-20 11:42:38 +02:00
Henry Eklind 24b8faa674 Merge branch 'master' of https://github.com/mewkiz/flac 2016-07-20 11:26:22 +02:00
Henry Eklind ec7de9b4e1
add test case for missing name/value separator in vorbiscomments 2016-07-20 11:24:11 +02:00
Henry Eklind c404968f8c
denser error handling style 2016-07-20 11:08:43 +02:00
mewmew 227638c683 flac: Extend metadata encoding test cases. 2016-07-20 07:37:13 +02:00
mewmew c2128ce746 flac: Update test case of Encode. Remove benchmark file from test case. 2016-07-20 07:27:03 +02:00
mewmew e6e996c148 flac: Ignore metadata blocks of unknown block type when encoding.
Add test cases.

Updates #14.
2016-07-20 07:25:42 +02:00
mewmew 306014abef flac: Add preliminary encoding support.
Support for encoding metadata has been added.

Proper support for encoding audio samples is yet to be
implemented. For now, simply copy the original encoded
audio data from the source FLAC file.

The API mirrors that of image.Encode.

Updates #14.
2016-07-20 06:38:19 +02:00
mewmew 7164e11639 readme: Add notice about Patrick's stress test using go-fuzz to v1.0.3 release notes.
Updates #10.

(better late than never)
2016-05-06 01:49:39 +02:00
mewmew 5d94ee8c15 readme: Add release notes for version 1.0.5. 2016-05-06 01:35:53 +02:00
mewmew db461b9177 travis: Update to Go 1.6. 2016-04-22 14:31:50 +02:00
mewmew 3f1d1096d8 internal: Add bits and hashutil packages to make the flac package self-contained. 2016-04-05 02:40:46 +02:00
mewmew 19a80bb8a8 cmd/flac2wav: Add notice about azul3d/examples and remove TODO for azul3d/engine#83. 2016-03-07 02:04:20 +01:00
mewmew 25f52780f5 cmd/flac2wav: Add once more to verify if azul3d-legacy/audio#16 has been resolved. 2016-03-07 00:57:22 +01:00
mewmew 9970b89a55 flac: Drop use of gopkg.in in import paths. Rely on vendoring instead.
ref: azul3d/engine#1
2016-03-07 00:06:54 +01:00
mewmew dd4d1cd9dd frame: Evaluate and remove TODO about potential optimization.
It did not improve the performance of Frame.Hash.
2016-02-11 23:26:32 +01:00
mewmew d675e0aacc frame: Fix Frame.Parse benchmark and add Frame.Hash benchmark. 2016-02-11 19:29:03 +01:00
mewmew e64cfef4cb frame: Test frame decoding and metadata decoding independently of each other.
Use frame.Open instead of frame.ParseFile to seek past metadata in the frame
decoding test case. Metadata test cases are handled separately in the meta
package.
2016-02-11 19:01:02 +01:00
mewmew 5e5fb51cd7 frame: Add benchmark for FLAC decoding. 2016-02-11 18:51:22 +01:00
mewmew 5c6ad5e1d5 frame: Remove debug message from test cases. 2016-02-11 04:28:28 +01:00
mewmew 4fcae129ab readme: Minor update. 2016-02-11 04:16:28 +01:00
mewmew 0c868f536b readme: Add release notes for version 1.0.4. 2016-02-11 04:15:29 +01:00
mewmew f151fbd294 Merge branch 'master' of github.com:mewkiz/flac 2016-02-11 04:13:26 +01:00
mewmew aadf80aa28 frame: Extend test cases to increase code coverage.
Test a corpus of 585 public domain FLAC files with a duration of less than 1 minute from freesound.org.

Out of these files, the following increased code coverage and where thus added to the test suit.

* 19875 (sample rate 48 kHz)
* 44127 (8 bits-per-sample, sample rate 22254)
* 80574 (sample rate 22050)
* 191885 (block size 1, verbatim)
* 212768 (sample rate 88200)
* 220014 (utf-8 continuation byte)
* 243749 (sample rate 8000)
* 257344 (sample rate 32000)
* 256529 (sample rate 192000)
2016-02-11 04:12:51 +01:00
mewmew 223851313f frame: Extend test cases. 2016-02-11 04:05:58 +01:00
mewmew 711a21c5d6 flac: Add API examples. Fixes #11. 2016-02-11 01:23:11 +01:00
mewmew 4ce3b401fa travis: Remove flac2wav to fix Travis CI build. Will revert once issue azul3d/audio#16 has been fixed. 2016-02-11 01:16:22 +01:00
mewmew f27cbcb359 travis: Always pull latest changes from git repo (not just the latest v1.* release). 2016-02-11 00:24:19 +01:00
mewmew 85e28e5395 cmd/flac2wav: Fix build on Travis CI by adding +build ignore to flac2wav.
This issue is being tracked at azul3d/audio#16.
2016-02-11 00:13:11 +01:00
mewmew 9971399ed4 readme: Rephrase 1.0.3 release notes. 2016-02-02 15:20:41 +01:00
mewmew c8cf41ffa0 readme: Add release dates to change history. 2016-02-02 15:13:53 +01:00
mewmew 2da5e16335 readme: Add release notes for version 1.0.3. 2016-02-02 15:06:04 +01:00
mewmew 154b8f6f7f frame: Fix decoding of FLAC files with wasted bits-per-sample.
Fixes issue #12.
2016-02-02 14:51:37 +01:00
Henry Eklind be533874f4 flac: check error in Open 2016-01-30 11:45:41 +01:00
mewmew 26ee53a7ed meta: Fix typo identified by misspel [1].
[1]: https://github.com/client9/misspell
2016-01-24 02:10:49 +01:00
mewmew bd85ea13e2 frame: Implement decoding samples with wasted bits-per-sample. 2016-01-20 19:36:23 +01:00