mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #20090 from sum2012/atrac-minor
Fix Atrac codecParams
This commit is contained in:
commit
b0e6a972be
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ int AnalyzeAA3Track(u32 addr, u32 size, u32 fileSize, Track *track) {
|
|||
track->fileSize = fileSize;
|
||||
|
||||
// Based on FFmpeg's code.
|
||||
u32 codecParams = buffer[35] | (buffer[34] << 8) | (buffer[35] << 16);
|
||||
u32 codecParams = buffer[33] | (buffer[34] << 8) | (buffer[35] << 16);
|
||||
const u32 at3SampleRates[8] = { 32000, 44100, 48000, 88200, 96000, 0 };
|
||||
|
||||
switch (buffer[32]) {
|
||||
|
|
Loading…
Add table
Reference in a new issue