diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-01-03 13:34:14 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-01-03 13:34:14 +1000 |
commit | b685d5701d13beece6deed80355d9eac196ec777 (patch) | |
tree | 606db7d11d06007742286c59219e22ce452aaa41 /src/audio_core | |
parent | eb2a666a69a23523be14313523162d1f43b01008 (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/audio_core')
-rw-r--r-- | src/audio_core/common/feature_support.h | 4 |
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 = |