mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-24 23:03:35 +01:00
Remove decode function of SimpleAudioDec and use its class method.
This commit is contained in:
1 parent
6d447bffb4
commit
a576420547
4 files changed
+16
-26
No files matched your search
@@ -742,7 +742,7 @@ int MediaEngine::getAudioSamples(u32 bufferPtr) {
|
||||
int outbytes = 0;
|
||||
|
||||
if (m_audioContext != NULL) {
|
||||
if (!AudioDecode(m_audioContext, audioFrame, frameSize, &outbytes, buffer)) {
|
||||
if (!m_audioContext->Decode(audioFrame, frameSize, buffer, &outbytes)) {
|
||||
ERROR_LOG(ME, "Audio (%s) decode failed during video playback", GetCodecName(m_audioType));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user