Henry Eklind
24b8faa674
Merge branch 'master' of https://github.com/mewkiz/flac
2016-07-20 11:26:22 +02:00
Henry Eklind
c404968f8c
denser error handling style
2016-07-20 11:08:43 +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
7a33256cf7
meta: Return io.ErrUnexpectedEOF if EOF occurs in the middle of a metadata block.
2014-08-08 06:42:26 +02:00
mewmew
442d20e7a8
meta: Don't allocate empty slices in VorbisComment and Application.
2014-08-06 16:26:28 +02:00
mewmew
c71d9382fd
meta: Use encoding/binary instead of pkg/bit for parsing of VorbisComment.
2014-08-06 06:48:03 +02:00
mewmew
93bed24a71
meta: Implement parsing of VorbisComment.
2014-08-06 06:43:28 +02:00
mewmew
92d79ca4d7
meta: Implementation the Parse and parseHeader methods of Block.
2014-08-06 05:07:31 +02:00
mewmew
db1994202e
meta: Simplify VorbisComment definition.
2014-08-06 00:48:24 +02:00
mewmew
8fbf78c3e2
meta: Add VorbisComment and VorbisTag definitions.
2014-08-05 23:49:59 +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
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
20a2eb5808
meta: Only allocate vc.Entries if there are comment vectors present.
2013-11-04 07:24:55 +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