summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-01-03 13:34:14 +1000
committerMike Lothian <mike@fireburn.co.uk>2025-05-11 12:17:03 +0100
commitbb334b4307162228a2fe2cb4a2e1b960bb58ee0d (patch)
tree00c5d5b9001894d7a471c51f1cee1fe95221419f /src
parent53be20f4ea9e1a2a2211d5cdc17d9c80dab7d269 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/audio_core/common/feature_support.h4
1 files changed, 4 insertions, 0 deletions
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 =