Commit graph

17 commits

Author SHA1 Message Date
Henry Eklind 0dc1119122
denser error handling 2016-07-22 00:56:37 +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 5d5937d195 meta: Rename MIMEType to MIME in the Picture type. 2014-08-08 09:09:20 +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 6d230e615f meta: Implement parsing of Picture. This was the last piece of the new API. Updates #4. 2014-08-06 07:30:02 +02:00
mewmew 92d79ca4d7 meta: Implementation the Parse and parseHeader methods of Block. 2014-08-06 05:07:31 +02:00
mewmew ac03f137d9 meta: Add Picture definition. This was the last piece of the new meta API. Updates issue #4. 2014-08-06 01:01:21 +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 f1f8853583 meta: Minor update of comments. 2013-11-04 09:11:47 +01:00
mewmew bd14c11c64 meta: Update documentation. 2013-11-04 09:04:40 +01:00
mewmew 6047be5058 meta: Update comments. 2013-11-04 07:47:57 +01:00
mewmew e03baec101 meta: Use readBytes to minimize generation of garbage. 2013-11-03 22:52:36 +01:00
mewmew 286fa91f9d meta: Use io.ReadFull instead of r.Read. 2013-11-03 22:25:33 +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