From b685d5701d13beece6deed80355d9eac196ec777 Mon Sep 17 00:00:00 2001 From: Zephyron Date: Fri, 3 Jan 2025 13:34:14 +1000 Subject: [PATCH] Audio Core: Add support tags for compressor stats and volume reset Added two new audio feature support tags with their corresponding revision numbers: - AudioCompressorStatistics (rev 16): For tracking compressor statistics - AudioVolumeResetSupport (rev 17): For volume reset functionality These features align with the documented Nintendo Switch audio service capabilities and maintain compatibility with the existing feature support system. --- src/audio_core/common/feature_support.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/audio_core/common/feature_support.h b/src/audio_core/common/feature_support.h index 304829c45..b1b3f4933 100644 --- a/src/audio_core/common/feature_support.h +++ b/src/audio_core/common/feature_support.h @@ -67,6 +67,8 @@ enum class SupportTags { AudioSystemRecordVolume, AudioSystemAutoMute, AudioSystemHearingProtection, + AudioCompressorStatistics, + AudioVolumeResetSupport, Size }; @@ -131,6 +133,8 @@ constexpr bool CheckFeatureSupported(SupportTags tag, u32 user_revision) { {SupportTags::AudioSystemRecordVolume, 4}, {SupportTags::AudioSystemAutoMute, 13}, {SupportTags::AudioSystemHearingProtection, 14}, + {SupportTags::AudioCompressorStatistics, 16}, + {SupportTags::AudioVolumeResetSupport, 17}, }}; const auto& feature =