DataHoarder
42f940f815
Update module url
2022-07-26 16:14:37 +02:00
Henry Eklind
11466d8af8
Absolute seek ( #46 )
...
* frame: Add frame.SampleNumber()
* flac/seek: Make stream.Seek seek to absolute sample numbers
* seek/test: Update test case for absolute seeking
* Update flac.go
Co-authored-by: Robin <mewmew@users.noreply.github.com>
* Update flac.go
Co-authored-by: Robin <mewmew@users.noreply.github.com>
* Update flac.go
Co-authored-by: Robin <mewmew@users.noreply.github.com>
* Update flac.go
Co-authored-by: Robin <mewmew@users.noreply.github.com>
* Update flac_test.go
Co-authored-by: Robin <mewmew@users.noreply.github.com>
* Update frame/frame.go
Co-authored-by: Robin <mewmew@users.noreply.github.com>
* flac: Improve code styling
* flac: Add ErrNoSeeker documentation comment
* flac: Make searchFromStart return an error instead of panic
* Update flac.go
Co-authored-by: Robin <mewmew@users.noreply.github.com>
* Update flac.go
Co-authored-by: Robin <mewmew@users.noreply.github.com>
Co-authored-by: Robin <mewmew@users.noreply.github.com>
2021-01-28 00:23:27 +01:00
Robin Eklind
bb157a5067
flac: use io.ReadSeeker as parameter of NewSeek
2021-01-23 18:05:53 +01:00
Craig Swank
052c3e4f58
Implement seek ( #44 )
...
* Implement seek
* update tests
* fixed io.SeekCurrent seek
* rename test
* Tweak seekTable reserved slice size
* fixed a seek bug
* brush up comment
* a little cleanup
* Update flac.go
Co-authored-by: Robin <mewmew@users.noreply.github.com>
* Update flac.go
Co-authored-by: Robin <mewmew@users.noreply.github.com>
* CR changes
* remove unused Err
* try to make comment easier to understand
* comment edit
Co-authored-by: Robin <mewmew@users.noreply.github.com>
2021-01-23 17:38:38 +01:00
Henry Eklind
36cc17efed
Skip ID3v2 data prepended to flac files on parsing ( #21 )
...
* Change signature to flacSignature
In order to disambiguate the introduction of the ID3v2 signature.
* Add check flac files containing ID3v2 data
* Implement skipId3v2
Note: a new import for decoding synchronized integers from ID3v2 headers
was introduced.
* Add error checking on the r.Discard calls
* Fix comments
* Use limited scope for error handling
* Capitalize ID in skipID3v2
* Fix comments
* Add testcase for skipping id3 data
2018-05-25 17:27:20 +02:00