fix const declarations

This commit is contained in:
David Howden 2018-04-02 08:17:25 +10:00
parent 3fc65dddfc
commit 964345f10f
2 changed files with 8 additions and 8 deletions

14
flac.go
View File

@ -15,13 +15,13 @@ type blockType byte
// FLAC block types.
const (
streamInfoBlock blockType = 0
paddingBlock = 1
applicationBlock = 2
seektableBlock = 3
vorbisCommentBlock = 4 // Supported
cueSheetBlock = 5
pictureBlock = 6 // Supported
// Stream Info Block 0
// Padding Block 1
// Application Block 2
// Seektable Block 3
// Cue Sheet Block 5
vorbisCommentBlock blockType = 4
pictureBlock blockType = 6
)
// ReadFLACTags reads FLAC metadata from the io.ReadSeeker, returning the resulting

2
ogg.go
View File

@ -12,7 +12,7 @@ import (
const (
idType int = 1
commentType = 3
commentType int = 3
)
// ReadOGGTags reads OGG metadata from the io.ReadSeeker, returning the resulting