audio_core: Implement further Audio REV 15 support for SDK 19.0.0+ compatibility

This commit adds further Audio REV 15 support to enable compatibility with games
compiled against Nintendo Switch SDK 19.0.0 and later versions.

Fixes: Audio compatibility issues with SDK 19.0.0+ games
Resolves: Missing Audio REV 15 feature support
Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-09-25 16:52:04 +10:00
parent 1bcabda885
commit 5ed7df1e68
3 changed files with 78 additions and 0 deletions

View File

@@ -54,6 +54,12 @@ enum class SupportTags {
AudioRendererProcessingTimeLimit50Percent,
VoiceChannelResourceLimit,
EffectProcessingVersion3,
AudioRendererRenderingTimeLimit,
AudioRendererVoiceDropParameter,
AudioRendererExecutionMode,
AudioRendererRenderingDevice,
AudioRendererExclusiveControlLeakageCheck,
AudioRendererElapsedFrameCount,
// Not a real tag, just here to get the count.
Size
@@ -107,6 +113,12 @@ constexpr bool CheckFeatureSupported(SupportTags tag, u32 user_revision) {
{SupportTags::AudioRendererProcessingTimeLimit50Percent, 15},
{SupportTags::VoiceChannelResourceLimit, 15},
{SupportTags::EffectProcessingVersion3, 15},
{SupportTags::AudioRendererRenderingTimeLimit, 15},
{SupportTags::AudioRendererVoiceDropParameter, 15},
{SupportTags::AudioRendererExecutionMode, 15},
{SupportTags::AudioRendererRenderingDevice, 15},
{SupportTags::AudioRendererExclusiveControlLeakageCheck, 15},
{SupportTags::AudioRendererElapsedFrameCount, 15},
}};
const auto& feature =