audio_renderer: Better voice mixing and 6 channel downmixing

Supersedes #3738 and #3321
This commit is contained in:
David Marcec 2020-04-22 13:03:58 +10:00 committed by bunnei
parent 6ec6cb50dd
commit 9de860a419
3 changed files with 96 additions and 11 deletions

View file

@ -14,6 +14,7 @@ constexpr ResultCode ERR_INVALID_PARAMETERS{ErrorModule::Audio, 41};
}
constexpr u32_le CURRENT_PROCESS_REVISION = Common::MakeMagic('R', 'E', 'V', '8');
constexpr std::size_t MAX_MIX_BUFFERS = 24;
static constexpr u32 VersionFromRevision(u32_le rev) {
// "REV7" -> 7