mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1207119: [mp3] Properly read channels count. r=esawin
The channel count is stored on bit 6 & 7 of byte at offset 3.
This commit is contained in:
parent
2b5820fdb4
commit
8c0baa5dda
@ -688,7 +688,7 @@ FrameParser::FrameHeader::Private() const {
|
||||
|
||||
uint8_t
|
||||
FrameParser::FrameHeader::RawChannelMode() const {
|
||||
return 0xF & mRaw[frame_header::CHANNELMODE_MODEEXT_COPY_ORIG_EMPH] >> 4;
|
||||
return 0x3 & mRaw[frame_header::CHANNELMODE_MODEEXT_COPY_ORIG_EMPH] >> 6;
|
||||
}
|
||||
|
||||
int32_t
|
||||
|
Loading…
Reference in New Issue
Block a user