mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Decode samplerate correctly.
BUG: 99829 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@402712 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
119bfc86db
commit
abbf24ade7
@ -116,7 +116,7 @@ void MPC::Properties::read()
|
||||
if(d->version >= 7) {
|
||||
frames = d->data.mid(4, 4).toUInt(false);
|
||||
|
||||
std::bitset<32> flags = d->data.mid(8, 4).toUInt(true);
|
||||
std::bitset<32> flags = d->data.mid(8, 4).toUInt(false);
|
||||
d->sampleRate = sftable[flags[17] * 2 + flags[16]];
|
||||
d->channels = 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user