Documented the general sound decoder. Now all we need is to implement it.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3613 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY
2009-06-29 23:49:03 +00:00
parent 5e65e94c4b
commit 2e7dd06cfd
2 changed files with 17 additions and 11 deletions

View File

@ -284,7 +284,6 @@ void CUCode_Zelda::MixAddVoice(ZeldaVoicePB &PB, s32* _LeftBuffer, s32* _RightBu
return;
case 0x0005: // AFC / unknown
case 0x0021: // AFC / ADPCM???
case 0x0009: // AFC / ADPCM
MixAddVoice_AFC(PB, m_TempBuffer, _Size);
break;
@ -293,7 +292,14 @@ void CUCode_Zelda::MixAddVoice(ZeldaVoicePB &PB, s32* _LeftBuffer, s32* _RightBu
MixAddVoice_PCM16(PB, m_TempBuffer, _Size);
break;
// Cases we're missing: 0x0008, 0x0020, 0x0021
case 0x0008:
case 0x0020:
case 0x0021:
PanicAlert("Unimplemented MixAddVoice format in zelda %04x", PB.Format);
default:
// TODO: Implement general decoder here
PanicAlert("Unknown MixAddVoice format in zelda %04x", PB.Format);
break;
}