diff options
| author | Zephyron <zephyron@citron-emu.org> | 2025-01-03 13:34:14 +1000 |
|---|---|---|
| committer | Mike Lothian <mike@fireburn.co.uk> | 2025-05-11 12:17:03 +0100 |
| commit | bb334b4307162228a2fe2cb4a2e1b960bb58ee0d (patch) | |
| tree | 00c5d5b9001894d7a471c51f1cee1fe95221419f /src | |
| parent | 53be20f4ea9e1a2a2211d5cdc17d9c80dab7d269 (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.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 = |
