Commit graph

15 commits

Author SHA1 Message Date
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 7a33256cf7 meta: Return io.ErrUnexpectedEOF if EOF occurs in the middle of a metadata block. 2014-08-08 06:42:26 +02:00
mewmew 657e658362 meta: Fix decoding of seek points; use big instead of little endian. 2014-08-06 14:41:00 +02:00
mewmew c8cf374193 meta: Implement error handling for SeekTable parsing. 2014-08-06 06:23:23 +02:00
mewmew a9a36c85a8 meta: Implement parsing of SeekTable. 2014-08-06 06:08:13 +02:00
mewmew 92d79ca4d7 meta: Implementation the Parse and parseHeader methods of Block. 2014-08-06 05:07:31 +02:00
mewmew 356f14878c meta: Fix a few spelling mistakes. 2014-08-06 03:08:02 +02:00
mewmew b6f88e1fc8 meta: Add SeekTable and SeekPoint definitions. 2014-08-05 23:33:24 +02:00
mewmew 41e3d627da meta: Initial version of the new meta API. Updates issue #4. 2014-08-05 22:51:36 +02:00
mewmew 51d342ff4b flac: Clean start in preparation for the new API. All functionality will be back ported later on. 2014-08-05 21:51:52 +02:00
mewmew 1f8a934c8e meta: Rename metadata body parsing function from NewXxx to ParseXxx. 2013-11-04 09:22:42 +01:00
mewmew 6047be5058 meta: Update comments. 2013-11-04 07:47:57 +01:00
mewmew 8d981e071d meta: Update error handling in NewSeekTable. 2013-11-03 13:35:17 +01:00
mewmew f583bf6928 all: Fix issues located by golint.
- "error strings should not end with punctuation"
2013-10-29 14:45:05 +01:00
mewmew 9414c933cf meta: Split parsing of block bodies into separate files based on block type. 2013-10-29 14:32:12 +01:00