mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 07:05:40 +12:00
HLE DSP: Add AAC decoder toggle
This commit is contained in:
parent
49a94a13c5
commit
2a5da7c1b2
1 changed files with 5 additions and 3 deletions
|
@ -643,9 +643,11 @@ namespace Audio {
|
||||||
response.command = request.command;
|
response.command = request.command;
|
||||||
response.mode = request.mode;
|
response.mode = request.mode;
|
||||||
|
|
||||||
// We've already got an AAC decoder but it's currently disabled until mixing & output is properly implemented
|
// TODO: Make this a toggle in config.toml. Currently we have it off by default until we finish the DSP mixer.
|
||||||
// TODO: Uncomment this when the time comes
|
constexpr bool enableAAC = false;
|
||||||
// aacDecoder->decode(response, request, [this](u32 paddr) { return getPointerPhys<u8>(paddr); });
|
if (enableAAC) {
|
||||||
|
aacDecoder->decode(response, request, [this](u32 paddr) { return getPointerPhys<u8>(paddr); });
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AAC::Command::Init:
|
case AAC::Command::Init:
|
||||||
|
|
Loading…
Add table
Reference in a new issue