More focus handling issue fixing

This commit is contained in:
Henrik Rydgard committed 2014-06-22 18:32:57 +02:00
1 parent fa3cdb0e3d
commit 29e9d0caa3
3 files changed
+9 -4

No files matched your search

+4 -2
View File
@@ -39,7 +39,9 @@ public:
codec = PSP_CODEC_AT3PLUS;
break;
case 0x270:
// Dunno? 3rd Birthday has this.
// Dunno? 3rd Birthday has this. Doesn't seem to work though.
codec = PSP_CODEC_AT3;
break;
default:
return;
}
@@ -86,7 +88,7 @@ public:
return;
}
sample_rate = samplesPerSec;
decoder_ = new SimpleAudio(codec);
decoder_ = new SimpleAudio(codec, sample_rate, num_channels);
ILOG("read ATRAC, frames: %i, rate %i", numFrames, sample_rate);
}