]> granicus.if.org Git - taglib/commit
MPEG: AudioProperties improvements
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Thu, 21 May 2015 04:59:32 +0000 (13:59 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Thu, 18 Jun 2015 08:14:04 +0000 (17:14 +0900)
commit9ec6d28239d9bd0d453af7b0f903f1b101abfda3
treef5b197888afd51a65741a22fd17f14248543003e
parent447a4739c5f62a81c422a0e5ae561b2fb1f260a1
MPEG: AudioProperties improvements

Add lengthInSeconds(), lengthInMilliseconds() properties. (#503)
Support VBRI header in addition to Xing. (#136)
Fix MPEG frame seeker functions. (maybe #190)
Calculate MPEG frame length accurately.
Remove some data members which are not needed to carry.
Add some tests for audio properties.
Add some supplementary comments.
taglib/mpeg/mpegheader.cpp
taglib/mpeg/mpegheader.h
taglib/mpeg/mpegproperties.cpp
taglib/mpeg/mpegproperties.h
taglib/mpeg/xingheader.cpp
taglib/mpeg/xingheader.h
tests/data/bladeenc.mp3 [new file with mode: 0644]
tests/data/lame_cbr.mp3 [new file with mode: 0644]
tests/data/lame_vbr.mp3 [new file with mode: 0644]
tests/data/vbri.mp3 [new file with mode: 0644]
tests/test_mpeg.cpp